Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Correcting multiselect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Nov 20, 2011
1 parent 6afdd7a commit 6855420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions media/system/js/multiselect.js
Expand Up @@ -12,8 +12,8 @@
Joomla.JMultiSelect = new Class({
initialize : function(table) {
this.table = document.id(table);
if (table) {
this.boxes = table.getElements('input[type=checkbox]');
if (this.table) {
this.boxes = this.table.getElements('input[type=checkbox]');
this.boxes.addEvent('click', function(e){
this.doselect(e);
}.bind(this));
Expand All @@ -35,4 +35,4 @@
this.last = current;
}
});
})();
})();

0 comments on commit 6855420

Please sign in to comment.