From: Marcin Haba Date: Mon, 8 Dec 2014 19:45:27 +0000 (+0100) Subject: baculum: Fix unmark all checkboxes X-Git-Tag: Release-7.2.0~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8d3b69f116b238e11b50c8ea51d8ab9bf537c6ac;p=bacula%2Fbacula baculum: Fix unmark all checkboxes --- 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) {