Vergleich jscripts/general.js - 1.8.6 - 1.8.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 494Zeile 494
		options = {
expires: expire,
path: cookiePath,

		options = {
expires: expire,
path: cookiePath,

			domain: cookieDomain
};



			domain: cookieDomain,
secure: cookieSecureFlag,
};


		return $.cookie(name, value, options);
},

unset: function(name)
{
name = cookiePrefix + name;

		return $.cookie(name, value, options);
},

unset: function(name)
{
name = cookiePrefix + name;





		options = {
path: cookiePath,
domain: cookieDomain
};
return $.removeCookie(name, options);

		options = {
path: cookiePath,
domain: cookieDomain
};
return $.removeCookie(name, options);

	}
};


	}
};


var expandables = {

init: function()

var expandables = {

init: function()

Zeile 528Zeile 529
				}

expander.click(function()

				}

expander.click(function()

				{

				{

					controls = expander.attr("id").replace("_img", "");
expandables.expandCollapse(this, controls);
});

					controls = expander.attr("id").replace("_img", "");
expandables.expandCollapse(this, controls);
});

Zeile 557Zeile 558
		var collapsedItem = $("#"+controls+"_c");

if(expandedItem.length && collapsedItem.length)

		var collapsedItem = $("#"+controls+"_c");

if(expandedItem.length && collapsedItem.length)

		{
// Expanding
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");

		{
// Expanding
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");

				this.saveCollapsed(controls);
}
// Collapsing

				this.saveCollapsed(controls);
}
// Collapsing

Zeile 596Zeile 597
				element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);

				element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);

			}
}

			}
}

		return true;
},


		return true;
},


Zeile 632Zeile 633
var lang = {

};

var lang = {

};

 

/* add keepelement to jquery-modal plugin */
(function($) {
if(typeof $.modal != 'undefined')
{
$.modal.defaults.keepelement = false;

$.modal.prototype.oldCloseFunction = $.modal.prototype.close;
$.modal.prototype.close = function()
{
this.oldCloseFunction();

// Deletes the element (multi-modal feature: e.g. when you click on multiple report buttons, you will want to see different content for each)
if(!this.options.keepelement)
{
this.$elm.remove();
}
};
}
})(jQuery);



MyBB.init();


MyBB.init();