Roo/bootstrap/form/HtmlEditorToolbar/Context.js
[roojs1] / Roo / bootstrap / form / HtmlEditorToolbar / Context.js
index 12c6e8c..cd6cb12 100644 (file)
@@ -276,7 +276,7 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Context, Roo.bootstrap.nav.Simpl
             xns: Roo.bootstrap,
             fa: 'trash',
             listeners : {
-                click : this.onDelete.delegate(this)
+                click : this.onDelete.createDelegate(this)
             }
         });
         this.deleteBtn.hide();