Vergleich jscripts/general.js - 1.8.11 - 1.8.18

  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 38Zeile 44
			mark_read_imgs.each(function()
{
var element = $(this);

			mark_read_imgs.each(function()
{
var element = $(this);

				if(element.hasClass('forum_off') || element.hasClass('forum_offlock') || element.hasClass('forum_offlink') || element.hasClass('subforum_minioff') || element.hasClass('subforum_miniofflock') || element.hasClass('subforum_miniofflink') || (element.attr("title") && element.attr("title") == lang.no_new_posts)) return;

				if(element.hasClass('forum_off') || element.hasClass('forum_offclose') || element.hasClass('forum_offlink') || element.hasClass('subforum_minioff') || element.hasClass('subforum_minioffclose') || element.hasClass('subforum_miniofflink') || (element.attr("title") && element.attr("title") == lang.no_new_posts)) return;


element.click(function()
{


element.click(function()
{

Zeile 55Zeile 61
		}

if(typeof $.modal !== "undefined")

		}

if(typeof $.modal !== "undefined")

		{

		{

			$(document).on($.modal.OPEN, function(event, modal) {
$("body").css("overflow", "hidden");
if(initialfocus.length > 0)

			$(document).on($.modal.OPEN, function(event, modal) {
$("body").css("overflow", "hidden");
if(initialfocus.length > 0)

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

	}
};


	}
};