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);
});

		});

// Initialise "initial focus" field if we have one

		});

// Initialise "initial focus" field if we have one

Zeile 160Zeile 166
		MyBB.popupWindow("/member.php?action=viewnotes&uid="+uid+"&modal=1");
},


		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)
{
$.prompt(delete_reputation_confirm, {

	deleteReputation: function(uid, rid)
{
$.prompt(delete_reputation_confirm, {

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);

	}
};


	}
};