Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
[roojs1] / Roo / bootstrap / form / HtmlEditorToolbar / Standard.js
index 3b07e5b..1ec1fc6 100644 (file)
@@ -319,14 +319,13 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
                 }
                 if (url != '') {
                     this.selectedNode.setAttribute('href', newurl);
+                    this.editor.syncValue();
                     return;
                 }
                 if(newurl && newurl .match(/http(s):\/\/.+/)) {
                     this.editorcore.relayCmd('createlink', newurl);
                 }
                 this.editorcore.focus();
-                Roo.log("SYNC VALUE");
-                this.editor.syncValue();
             },
             cls : 'pub-error'
         });