phpBB

Code Changes

File: styles/prosilver/template/forum_fn.js

  Unmodified   Added   Modified   Removed
Line 57Line 57

jQuery('#' + id + ' input[type=checkbox][name]').each(function() {
var $this = jQuery(this);


jQuery('#' + id + ' input[type=checkbox][name]').each(function() {
var $this = jQuery(this);

		if ($this.attr('name').substr(0, name.length) === name) {

		if ($this.attr('name').substr(0, name.length) === name && !$this.prop('disabled')) {

			$this.prop('checked', state);
}
});

			$this.prop('checked', state);
}
});

Line 159Line 159
			try {
s.setBaseAndExtent(e, 0, e, l);
} catch (error) {

			try {
s.setBaseAndExtent(e, 0, e, l);
} catch (error) {

				s.setBaseAndExtent(e, 0, e, 1);




				r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);

			}
}
// Firefox and Opera

			}
}
// Firefox and Opera