Aug 20, 2014, 8:45 AM
[CLOSED] MessageBox render problem
Hi,
I have some problem with messagebox rendering; If the message is too long, the text is cutted.
I attach a printscreen.
I have a view with a button:
Thanks
Best regards
Andrea
I have some problem with messagebox rendering; If the message is too long, the text is cutted.
I attach a printscreen.
I have a view with a button:
Html.X().Button()
.Text("Cancella")
.Icon(Icon.ImageDelete)
.Height(30)
.Handler("deleteMedia()")
The javascript is defined as follow: deleteMedia = function () {
var sel = Ext.getCmp(options.media_grid_id).selModel.getSelection()[0];
if (sel == undefined) {
Ext.MessageBox.alert('Attenzione', "Selezionare il media da cancellare.");
} else
Ext.MessageBox.confirm("Conferma", "Sei sicuro di voler cancellare il media selezionato?",
function (btn) {
if (btn == 'yes') {
App.direct.MediaDelete(sel.data.Id, {
success: function (result) {
reloadMediaGrid();
},
failure: function (errMsg) {
Ext.MessageBox.alert('Info', errMsg);
}
}
);
}
}
);
}
Do you have any workaround or suggestion?Thanks
Best regards
Andrea
Last edited by Daniil; Aug 20, 2014 at 11:42 AM.
Reason: [CLOSED]