add id's
This commit is contained in:
@@ -15,6 +15,7 @@ PMExtJSCommon = function() {
|
|||||||
|
|
||||||
this.info = function(title, msg, fn) {
|
this.info = function(title, msg, fn) {
|
||||||
Ext.MessageBox.show({
|
Ext.MessageBox.show({
|
||||||
|
id: 'infoMessageBox',
|
||||||
title: title,
|
title: title,
|
||||||
msg: msg,
|
msg: msg,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
@@ -26,6 +27,7 @@ PMExtJSCommon = function() {
|
|||||||
|
|
||||||
this.question = function(title, msg, fn) {
|
this.question = function(title, msg, fn) {
|
||||||
Ext.MessageBox.show({
|
Ext.MessageBox.show({
|
||||||
|
id: 'questionMessageBox',
|
||||||
title: title,
|
title: title,
|
||||||
msg: msg,
|
msg: msg,
|
||||||
buttons: Ext.MessageBox.YESNO,
|
buttons: Ext.MessageBox.YESNO,
|
||||||
@@ -40,6 +42,7 @@ PMExtJSCommon = function() {
|
|||||||
|
|
||||||
this.warning = function(title, msg, fn) {
|
this.warning = function(title, msg, fn) {
|
||||||
Ext.MessageBox.show({
|
Ext.MessageBox.show({
|
||||||
|
id: 'warningMessageBox',
|
||||||
title: title,
|
title: title,
|
||||||
msg: msg,
|
msg: msg,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
@@ -51,6 +54,7 @@ PMExtJSCommon = function() {
|
|||||||
|
|
||||||
this.error = function(title, msg, fn) {
|
this.error = function(title, msg, fn) {
|
||||||
Ext.MessageBox.show({
|
Ext.MessageBox.show({
|
||||||
|
id: 'errorMessageBox',
|
||||||
title: title,
|
title: title,
|
||||||
msg: msg,
|
msg: msg,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
|
|||||||
@@ -559,6 +559,7 @@ ImportPMTableCSV = function(){
|
|||||||
[',', 'Comma (,)']]
|
[',', 'Comma (,)']]
|
||||||
});
|
});
|
||||||
var w = new Ext.Window({
|
var w = new Ext.Window({
|
||||||
|
id: 'windowImportUploader',
|
||||||
title : '',
|
title : '',
|
||||||
width : 440,
|
width : 440,
|
||||||
height : 180,
|
height : 180,
|
||||||
@@ -672,6 +673,7 @@ ExportPMTableCSV = function(){
|
|||||||
[',', 'Comma (,)']]
|
[',', 'Comma (,)']]
|
||||||
});
|
});
|
||||||
var w = new Ext.Window({
|
var w = new Ext.Window({
|
||||||
|
id: 'windowExportUploader',
|
||||||
title : '',
|
title : '',
|
||||||
width : 320,
|
width : 320,
|
||||||
height : 140,
|
height : 140,
|
||||||
|
|||||||
@@ -511,6 +511,7 @@ DeletePMTable = function() {
|
|||||||
ImportPMTable = function(){
|
ImportPMTable = function(){
|
||||||
|
|
||||||
var w = new Ext.Window({
|
var w = new Ext.Window({
|
||||||
|
id: 'windowPmTableUploaderImport',
|
||||||
title: '',
|
title: '',
|
||||||
width: 420,
|
width: 420,
|
||||||
height: 160,
|
height: 160,
|
||||||
@@ -570,6 +571,7 @@ ImportPMTable = function(){
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
win = new Ext.Window({
|
win = new Ext.Window({
|
||||||
|
id: 'windowImportingError',
|
||||||
applyTo:'hello-win',
|
applyTo:'hello-win',
|
||||||
layout:'fit',
|
layout:'fit',
|
||||||
width:500,
|
width:500,
|
||||||
@@ -659,6 +661,7 @@ PMTableData = function()
|
|||||||
}
|
}
|
||||||
|
|
||||||
win = new Ext.Window({
|
win = new Ext.Window({
|
||||||
|
id: 'windowPmtablesReportTable',
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
width: 700,
|
width: 700,
|
||||||
height: 400,
|
height: 400,
|
||||||
|
|||||||
Reference in New Issue
Block a user