{
xtype : 'Button',
text: 'Edit Src',
- name : 'image_src',
-
+
listeners : {
click: function (btn, state)
{
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();