Roo/htmleditor/BlockFigure.js
authorAlan <alan@roojs.com>
Mon, 10 Jan 2022 07:11:07 +0000 (15:11 +0800)
committerAlan <alan@roojs.com>
Mon, 10 Jan 2022 07:11:07 +0000 (15:11 +0800)
Roo/htmleditor/BlockFigure.js

index cab4323..d99a94a 100644 (file)
@@ -77,7 +77,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                         Roo.MessageBox.show({
                             title : "Image Source URL",
                             msg : "Enter the url for the image",
                         Roo.MessageBox.show({
                             title : "Image Source URL",
                             msg : "Enter the url for the image",
-                            buttons: this.OKCANCEL,
+                            buttons: Roo.MessageBox.OKCANCEL,
                             fn: function(val){
                                 block().image_src = val;
                                 block().updateElement();
                             fn: function(val){
                                 block().image_src = val;
                                 block().updateElement();