projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed20dd
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 07:24:47 +0000
(15:24 +0800)
committer
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 07:24:47 +0000
(15:24 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
7087d94
..
e7924fd
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-527,7
+527,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);
}