add textselect option to dialog

This commit is contained in:
nightwing 2015-08-03 22:51:18 +04:00
parent af21eedaf5
commit 8aa90ef045

View File

@ -190,7 +190,10 @@ define(function(require, module, exports) {
}
// allow selecting dialog message text
titles.textselect = !custom;
var textselect = options.textselect;
if (textselect == undefined)
textselect = !custom;
titles.textselect = textselect;
// When the dialog closes the next dialog can appear
plugin.once("hide", next);