From c2e3c8dd23e50cf7c36bb3d123e9bfd9af663545 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 10 Jun 2014 10:55:56 +0200 Subject: [PATCH] Fixed consecutive post editing Editing post twice in a row resulted in warning about concurrent editing. --- public_html/media/js/post-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/media/js/post-view.js b/public_html/media/js/post-view.js index 8938a835..78b8c453 100644 --- a/public_html/media/js/post-view.js +++ b/public_html/media/js/post-view.js @@ -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();