Fixed consecutive post editing

Editing post twice in a row resulted in warning about concurrent
editing.
This commit is contained in:
Marcin Kurczewski 2014-06-10 10:55:56 +02:00
parent d242eedb31
commit c2e3c8dd23

View file

@ -114,7 +114,7 @@ $(function()
$.get(window.location.href).success(function(data)
{
$('#sidebar').replaceWith($(data).find('#sidebar'));
$('#edit-token').replaceWith($(data).find('#edit-token'));
$('#revision').replaceWith($(data).find('#revision'));
$('body').trigger('dom-update');
});
formDom.parents('.unit').hide();