Fixed consecutive post editing
Editing post twice in a row resulted in warning about concurrent editing.
This commit is contained in:
parent
d242eedb31
commit
c2e3c8dd23
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ $(function()
|
||||||
$.get(window.location.href).success(function(data)
|
$.get(window.location.href).success(function(data)
|
||||||
{
|
{
|
||||||
$('#sidebar').replaceWith($(data).find('#sidebar'));
|
$('#sidebar').replaceWith($(data).find('#sidebar'));
|
||||||
$('#edit-token').replaceWith($(data).find('#edit-token'));
|
$('#revision').replaceWith($(data).find('#revision'));
|
||||||
$('body').trigger('dom-update');
|
$('body').trigger('dom-update');
|
||||||
});
|
});
|
||||||
formDom.parents('.unit').hide();
|
formDom.parents('.unit').hide();
|
||||||
|
|
Loading…
Reference in a new issue