]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix unmark all checkboxes
authorMarcin Haba <marcin.haba@bacula.pl>
Mon, 8 Dec 2014 19:45:27 +0000 (20:45 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Tue, 9 Dec 2014 21:12:21 +0000 (22:12 +0100)
gui/baculum/protected/JavaScript/slide-window.js

index 1381a4796c9aad9960a1bc718f456955e3f8dcb4..dd5061653dee6cc6679e3d390db7cb65a4c5a4c6 100644 (file)
@@ -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) {