X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=3a0ad3c907df45c5df67734e70a276488e43abb1;hp=4c4500c770af4eb7427d062eb5875af84591894a;hb=3bf8692ce68eb4b5d6e11b122c3ecf88f377f7e6;hpb=fe8764df0dd0c6278e411adce7082e96d76acae5 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 4c4500c770..3a0ad3c907 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -27737,7 +27737,10 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, { createLink : function(){ Roo.log("create link?"); var ec = this.editorcore; - Roo.MessageBox.prompt("Add Link URL",this.createLinkText, function(url) { + Roo.MessageBox.prompt("Add Link URL",this.createLinkText, function(btn, url) { + if (btn != 'ok') { + return; + } if(url && url != 'http:/'+'/'){ ec.relayCmd('createlink', url); }