From a6c8e1d4782842c9b7a5acbca1d9c64f4c336125 Mon Sep 17 00:00:00 2001 From: Rolux Date: Tue, 5 Jan 2016 23:26:40 +0530 Subject: [PATCH] update edit dialog --- static/js/editDialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/editDialog.js b/static/js/editDialog.js index 450340c..d6cc4a5 100644 --- a/static/js/editDialog.js +++ b/static/js/editDialog.js @@ -52,7 +52,9 @@ oml.ui.editDialog = function() { } oml.api.edit(edit, function(result) { Ox.Request.clearCache(); - oml.$ui.info.updateElement(); + if (Ox.contains(['author', 'place', 'description'], key)) { + oml.$ui.info.updateElement(); + } oml.$ui.filters.forEach(function($filter) { $filter.reloadList(); });