Zeile 151 | Zeile 151 |
---|
form.setAttribute("method", "post"); form.setAttribute("action", "editpost.php?action=deletepost&delete=yes"); form.setAttribute("style", "display: none;");
|
form.setAttribute("method", "post"); form.setAttribute("action", "editpost.php?action=deletepost&delete=yes"); form.setAttribute("style", "display: none;");
|
| if(my_post_key) { var input = document.createElement("input"); input.setAttribute("name", "my_post_key"); input.setAttribute("type", "hidden"); input.setAttribute("value", my_post_key); form.appendChild(input); }
|
var input = document.createElement("input"); input.setAttribute("name", "pid");
| var input = document.createElement("input"); input.setAttribute("name", "pid");
|
Zeile 180 | Zeile 189 |
---|
} Thread.qeCache[pid] = $("pid_"+pid).innerHTML; this.spinner = new ActivityIndicator("body", {image: "images/spinner_big.gif"});
|
} Thread.qeCache[pid] = $("pid_"+pid).innerHTML; this.spinner = new ActivityIndicator("body", {image: "images/spinner_big.gif"});
|
new ajax('xmlhttp.php?action=edit_post&do=get_post&pid='+pid, {method: 'get', onComplete: function(request) { Thread.quickEditLoaded(request, pid); }});
| new ajax('xmlhttp.php?action=edit_post&do=get_post&pid='+pid+'&my_post_key='+my_post_key, {method: 'get', onComplete: function(request) { Thread.quickEditLoaded(request, pid); }});
|
return false; },
| return false; },
|
Zeile 233 | Zeile 242 |
---|
this.spinner = new ActivityIndicator("body", {image: "images/spinner_big.gif"}); postData = "value="+encodeURIComponent(message).replace(/\+/g, "%2B");
|
this.spinner = new ActivityIndicator("body", {image: "images/spinner_big.gif"}); postData = "value="+encodeURIComponent(message).replace(/\+/g, "%2B");
|
new ajax('xmlhttp.php?action=edit_post&do=update_post&pid='+pid, {method: 'post', postBody: postData, onComplete: function(request) { Thread.quickEditSaved(request, pid); }});
| new ajax('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); }});
|
}, quickEditCancel: function(pid)
| }, quickEditCancel: function(pid)
|