Vergleich jscripts/thread.js - 1.6.10 - 1.6.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 121Zeile 121
			this.spinner.destroy();
this.spinner = '';
}

			this.spinner.destroy();
this.spinner = '';
}

		$('message').focus();	

		$('message').focus();

	},

clearMultiQuoted: function()

	},

clearMultiQuoted: function()

Zeile 140Zeile 140
			});
}
Cookie.unset('multiquote');

			});
}
Cookie.unset('multiquote');

	},	

	},


deletePost: function(pid)
{


deletePost: function(pid)
{

Zeile 243Zeile 243
			return false;
}
this.spinner = new ActivityIndicator("body", {image: imagepath + "/spinner_big.gif"});

			return false;
}
this.spinner = new ActivityIndicator("body", {image: imagepath + "/spinner_big.gif"});

		



		postData = "value="+encodeURIComponent(message).replace(/\+/g, "%2B");
new Ajax.Request('xmlhttp.php?action=edit_post&do=update_post&pid='+pid+"&my_post_key="+my_post_key, {method: 'post', postBody: postData, onComplete: function(request) { Thread.quickEditSaved(request, pid); }});
},

		postData = "value="+encodeURIComponent(message).replace(/\+/g, "%2B");
new Ajax.Request('xmlhttp.php?action=edit_post&do=update_post&pid='+pid+"&my_post_key="+my_post_key, {method: 'post', postBody: postData, onComplete: function(request) { Thread.quickEditSaved(request, pid); }});
},

Zeile 291Zeile 291
			$("pid_"+pid).innerHTML = message;
Thread.qeCache[pid] = "";
}

			$("pid_"+pid).innerHTML = message;
Thread.qeCache[pid] = "";
}

		



		if(this.spinner)
{
this.spinner.destroy();

		if(this.spinner)
{
this.spinner.destroy();

Zeile 382Zeile 382
			var post = document.createElement("div");
post.innerHTML = request.responseText;
$('posts').appendChild(post);

			var post = document.createElement("div");
post.innerHTML = request.responseText;
$('posts').appendChild(post);

			if(MyBB.browser == "ie" || MyBB.browser == "opera" || MyBB.browser == "safari" || MyBB.browser == "chrome")
{
var scripts = request.responseText.extractScripts();
scripts.each(function(script)
{
eval(script);
});
}

			request.responseText.evalScripts();








			Form.reset('quick_reply_form');
if($('lastpid'))
{

			Form.reset('quick_reply_form');
if($('lastpid'))
{

Zeile 398Zeile 391
		}
else
{

		}
else
{

			request.responseText.evalScripts(); 

			request.responseText.evalScripts();

		}

		}

		



		if(this.spinner)
{
this.spinner.destroy();

		if(this.spinner)
{
this.spinner.destroy();