Vergleich jscripts/general.js - 1.8.11 - 1.8.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 15Zeile 15

/* Create the Check All feature */
$('[name="allbox"]').each(function(key, value) {


/* Create the Check All feature */
$('[name="allbox"]').each(function(key, value) {

			$(this).change(function() {
var checkboxes = $(this).closest('form').find(':checkbox');
if($(this).is(':checked')) {
checkboxes.prop('checked', true);
} else {
checkboxes.removeAttr('checked');



			var allbox = this;
var checked = $(this).is(':checked');
var checkboxes = $(this).closest('form').find(':checkbox');
checkboxes.change(function() {
if(checked && !$(this).prop('checked'))
{
checked = false;
$(allbox).prop('checked', checked);

				}

				}

 
			});
$(this).change(function() {
checked = $(this).is(':checked');
checkboxes.prop('checked', checked);

			});
});


			});
});


Zeile 71Zeile 77
	},

popupWindow: function(url, options, root)

	},

popupWindow: function(url, options, root)

	{

	{

		if(!options) options = { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }
if(root != true)
url = rootpath + url;

		if(!options) options = { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }
if(root != true)
url = rootpath + url;

Zeile 105Zeile 111
							name: "action",
type: "hidden",
value: "do_deleteevent"

							name: "action",
type: "hidden",
value: "do_deleteevent"

						})
);

						})
);


if(my_post_key)
{


if(my_post_key)
{

Zeile 158Zeile 164
	viewNotes: function(uid)
{
MyBB.popupWindow("/member.php?action=viewnotes&uid="+uid+"&modal=1");

	viewNotes: function(uid)
{
MyBB.popupWindow("/member.php?action=viewnotes&uid="+uid+"&modal=1");

 
	},

getIP: function(pid)
{
MyBB.popupWindow("/moderation.php?action=getip&pid="+pid+"&modal=1");
},

getPMIP: function(pmid)
{
MyBB.popupWindow("/moderation.php?action=getpmip&pmid="+pmid+"&modal=1");

	},

deleteReputation: function(uid, rid)

	},

deleteReputation: function(uid, rid)

Zeile 510Zeile 526
	get: function(name)
{
name = cookiePrefix + name;

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

		return $.cookie(name);

		return Cookies.get(name);

	},

set: function(name, value, expires)

	},

set: function(name, value, expires)

Zeile 531Zeile 547
			secure: cookieSecureFlag == true,
};


			secure: cookieSecureFlag == true,
};


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

		return Cookies.set(name, value, options);

	},

unset: function(name)

	},

unset: function(name)

Zeile 542Zeile 558
			path: cookiePath,
domain: cookieDomain
};

			path: cookiePath,
domain: cookieDomain
};

		return $.removeCookie(name, options);

		return Cookies.remove(name, options);

	}
};


	}
};