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 192Line 192
		r.moveToElementText(e);
r.select();
}

		r.moveToElementText(e);
r.select();
}

}

/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*/
function play_qt_file(obj) {
'use strict';

var rectangle = obj.GetRectangle();
var width, height;

if (rectangle) {
rectangle = rectangle.split(',');
var x1 = parseInt(rectangle[0], 10);
var x2 = parseInt(rectangle[2], 10);
var y1 = parseInt(rectangle[1], 10);
var y2 = parseInt(rectangle[3], 10);

width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
} else {
width = 200;
height = 0;
}

obj.width = width;
obj.height = height + 16;

obj.SetControllerVisible(true);
obj.Play();

 
}

var inAutocomplete = false;

}

var inAutocomplete = false;