From 8d3b69f116b238e11b50c8ea51d8ab9bf537c6ac Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Mon, 8 Dec 2014 20:45:27 +0100 Subject: [PATCH] baculum: Fix unmark all checkboxes --- gui/baculum/protected/JavaScript/slide-window.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/baculum/protected/JavaScript/slide-window.js b/gui/baculum/protected/JavaScript/slide-window.js index 1381a4796c..dd5061653d 100644 --- a/gui/baculum/protected/JavaScript/slide-window.js +++ b/gui/baculum/protected/JavaScript/slide-window.js @@ -362,7 +362,9 @@ var SlideWindowClass = Class.create({ this.markChecked(containerId, ch.checked, ch.value); } }.bind(this)); - this.packChecked(containerId); + if (containerId) { + this.packChecked(containerId); + } } if(check) { -- 2.39.5