From 79094aa4bb83a721dc5fd265870bd9fdedb3f97e Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 11 Sep 2017 16:36:24 +0200 Subject: [PATCH] Fix closing the title input when the title is not modified --- www/common/sframe-common-title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-common-title.js b/www/common/sframe-common-title.js index 61a5fb46e..3df144b0e 100644 --- a/www/common/sframe-common-title.js +++ b/www/common/sframe-common-title.js @@ -34,7 +34,7 @@ define(['jquery'], function ($) { exp.updateTitle = function (newTitle, cb) { cb = cb || $.noop; - if (newTitle === exp.title) { return; } + if (newTitle === exp.title) { return void cb(); } metadataMgr.updateTitle(newTitle); titleUpdated = cb; };