You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by vv...@apache.org on 2014/10/03 10:00:43 UTC
svn commit: r1629131 -
/felix/trunk/webconsole/src/main/resources/res/lib/support.js
Author: vvalchev
Date: Fri Oct 3 08:00:42 2014
New Revision: 1629131
URL: http://svn.apache.org/r1629131
Log:
Fixed FELIX-4662 : WebConsole Xdialog javascript function is not working correctly
https://issues.apache.org/jira/browse/FELIX-4662
Modified:
felix/trunk/webconsole/src/main/resources/res/lib/support.js
Modified: felix/trunk/webconsole/src/main/resources/res/lib/support.js
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/resources/res/lib/support.js?rev=1629131&r1=1629130&r2=1629131&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/resources/res/lib/support.js (original)
+++ felix/trunk/webconsole/src/main/resources/res/lib/support.js Fri Oct 3 08:00:42 2014
@@ -152,7 +152,8 @@ function Xdialog(text) {
}
// init dialog
- dialog.html(text).dialog('destroy'); // set text & reset dialog
+ dialog.html(text); // set text & reset dialog
+ if (dialog.is( ":data( 'dialog' )" )) dialog.dialog('destroy');
return dialog;
}