This commit is contained in:
Roly Rudy Gutierrez Pinto
2014-03-27 09:31:31 -04:00
parent 16d861c225
commit b937c2a46f
3 changed files with 9 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ PMExtJSCommon = function() {
this.info = function(title, msg, fn) {
Ext.MessageBox.show({
id: 'infoMessageBox',
title: title,
msg: msg,
buttons: Ext.MessageBox.OK,
@@ -26,6 +27,7 @@ PMExtJSCommon = function() {
this.question = function(title, msg, fn) {
Ext.MessageBox.show({
id: 'questionMessageBox',
title: title,
msg: msg,
buttons: Ext.MessageBox.YESNO,
@@ -40,6 +42,7 @@ PMExtJSCommon = function() {
this.warning = function(title, msg, fn) {
Ext.MessageBox.show({
id: 'warningMessageBox',
title: title,
msg: msg,
buttons: Ext.MessageBox.OK,
@@ -51,6 +54,7 @@ PMExtJSCommon = function() {
this.error = function(title, msg, fn) {
Ext.MessageBox.show({
id: 'errorMessageBox',
title: title,
msg: msg,
buttons: Ext.MessageBox.OK,