BUG 12525 El panel de carga muestra un label en ingles SOLVED

Los paneles de submit en extjs muestran un label en ingles
para ello se seteo la propiedad waitTitle : "" para evitar ese label
This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-08-12 11:44:24 -04:00
parent d94685d78c
commit 23046713c2
24 changed files with 33 additions and 4 deletions

View File

@@ -986,6 +986,7 @@ function uploadDocument()
Ext.getCmp("uploadform").getForm().submit({ Ext.getCmp("uploadform").getForm().submit({
//reset: true, //reset: true,
reset: false, reset: false,
waitTitle : "",
success: function(form, action) { success: function(form, action) {
datastore.reload(); datastore.reload();
@@ -1740,6 +1741,7 @@ function newFolder()
Ext.getCmp("simpleform").getForm().submit({ Ext.getCmp("simpleform").getForm().submit({
//reset: true, //reset: true,
reset: false, reset: false,
waitTitle : "",
success: function(form, action) { success: function(form, action) {
statusBarMessage(action.result.message, false, true); statusBarMessage(action.result.message, false, true);
try{ try{

View File

@@ -254,6 +254,7 @@ Ext.onReady(function() {
panelRightTop.getForm().submit({ panelRightTop.getForm().submit({
url : '../adminProxy/uploadImage', url : '../adminProxy/uploadImage',
waitMsg : _('ID_LOADING'), waitMsg : _('ID_LOADING'),
waitTitle : "",
success : function(form, o) { success : function(form, o) {
obj = Ext.util.JSON.decode(o.response.responseText); obj = Ext.util.JSON.decode(o.response.responseText);
if (obj.failed == '0' && obj.uploaded != '0') { if (obj.failed == '0' && obj.uploaded != '0') {

View File

@@ -230,6 +230,7 @@ function saveSettings()
Ext.getCmp('frm').getForm().submit( { Ext.getCmp('frm').getForm().submit( {
url : '../adminProxy/saveSystemConf', url : '../adminProxy/saveSystemConf',
waitMsg : _('ID_SAVING_PROCESS'), waitMsg : _('ID_SAVING_PROCESS'),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(obj, resp) { success : function(obj, resp) {
//nothing to do //nothing to do

View File

@@ -297,6 +297,7 @@ Ext.onReady(function(){
} }
function saveAuthSources(){ function saveAuthSources(){
formAuthSourceE.getForm().submit({ formAuthSourceE.getForm().submit({
waitTitle : "",
url: '../adminProxy/saveAuthSources', url: '../adminProxy/saveAuthSources',
params: { params: {
// action : 'tryit', // action : 'tryit',

View File

@@ -94,6 +94,7 @@ var cboxAuthSourse = new Ext.form.ComboBox({
window.location = 'authSources_New?AUTH_SOURCE_PROVIDER='+formAuthSourceOptoins.getForm().findField('AUTH_SOURCE_PROVIDER').getValue(); window.location = 'authSources_New?AUTH_SOURCE_PROVIDER='+formAuthSourceOptoins.getForm().findField('AUTH_SOURCE_PROVIDER').getValue();
return false;*/ return false;*/
formAuthSourceOptoins.getForm().submit({ formAuthSourceOptoins.getForm().submit({
waitTitle : "",
url: '../adminProxy/testingOption', url: '../adminProxy/testingOption',
params: { params: {
action : 'test', action : 'test',

View File

@@ -317,6 +317,7 @@ Ext.onReady(function(){
} }
function TestSite(){ function TestSite(){
formAuthSource.getForm().submit({ formAuthSource.getForm().submit({
waitTitle : "",
url: '../adminProxy/saveAuthSources', url: '../adminProxy/saveAuthSources',
params: { params: {
// action : 'tryit', // action : 'tryit',

View File

@@ -1118,7 +1118,8 @@ Ext.onReady(function(){
unpauseDate = unpauseDate.format('Y-m-d'); unpauseDate = unpauseDate.format('Y-m-d');
Ext.getCmp('unpauseFrm').getForm().submit({ Ext.getCmp('unpauseFrm').getForm().submit({
url:'ajaxListener', waitTitle : "",
url:'ajaxListener',
method : 'post', method : 'post',
params : { params : {
action: 'pauseCase', action: 'pauseCase',

View File

@@ -411,6 +411,7 @@ DuplicateGroupName = function(){
//Save New Group //Save New Group
SaveNewGroup = function(){ SaveNewGroup = function(){
newForm.getForm().submit({ newForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
CloseWindow(); //Hide popup widow CloseWindow(); //Hide popup widow
newForm.getForm().reset(); //Set empty form to next use newForm.getForm().reset(); //Set empty form to next use
@@ -468,6 +469,7 @@ SaveEditGroupAction = function(){
//Save Edit Group //Save Edit Group
SaveEditGroup = function(){ SaveEditGroup = function(){
editForm.getForm().submit({ editForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
CloseWindow(); //Hide popup widow CloseWindow(); //Hide popup widow
DoSearch(); //Reload store grid DoSearch(); //Reload store grid

View File

@@ -296,7 +296,7 @@ Login.submit = function()
Login.form.getForm().submit({ Login.form.getForm().submit({
method: 'POST', method: 'POST',
//waitTitle: '', waitTitle: '',
//waitMsg: 'Verifying User...', //waitMsg: 'Verifying User...',
success: function(form, action) success: function(form, action)
{ {

View File

@@ -141,6 +141,7 @@ Ext.onReady(function(){
uploader.getForm().submit({ uploader.getForm().submit({
url: 'outputdocs_Ajax?action=setTemplateFile', url: 'outputdocs_Ajax?action=setTemplateFile',
waitMsg: _('ID_UPLOADING_FILE'), waitMsg: _('ID_UPLOADING_FILE'),
waitTitle : "",
success: function (o, resp) { success: function (o, resp) {
w.close(); w.close();

View File

@@ -536,6 +536,7 @@ ImportPMTableCSV = function(){
uploader.getForm().submit({ uploader.getForm().submit({
url : '../pmTablesProxy/importCSV', url : '../pmTablesProxy/importCSV',
waitMsg : _('ID_UPLOADING_FILE'), waitMsg : _('ID_UPLOADING_FILE'),
waitTitle : "",
success : function(o, resp){ success : function(o, resp){
w.close(); w.close();
infoGrid.store.reload(); infoGrid.store.reload();

View File

@@ -545,6 +545,7 @@ ImportPMTable = function(){
uploader.getForm().submit({ uploader.getForm().submit({
url: 'pmTablesProxy/import', url: 'pmTablesProxy/import',
waitMsg: _('ID_UPLOADING_FILE'), waitMsg: _('ID_UPLOADING_FILE'),
waitTitle : "",
success: function(o, resp){ success: function(o, resp){
var result = Ext.util.JSON.decode(resp.response.responseText); var result = Ext.util.JSON.decode(resp.response.responseText);

View File

@@ -331,6 +331,7 @@ SaveNewCategory = function(){
if (resp){ if (resp){
viewport.getEl().mask(_('ID_PROCESSING')); viewport.getEl().mask(_('ID_PROCESSING'));
newForm.getForm().submit({ newForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
viewport.getEl().unmask(); viewport.getEl().unmask();
CloseWindow(); //Hide popup widow CloseWindow(); //Hide popup widow
@@ -380,6 +381,7 @@ UpdateCategory = function(){
if (resp){ if (resp){
viewport.getEl().mask(_('ID_PROCESSING')); viewport.getEl().mask(_('ID_PROCESSING'));
editForm.getForm().submit({ editForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
viewport.getEl().unmask(); viewport.getEl().unmask();
CloseWindow(); //Hide popup widow CloseWindow(); //Hide popup widow

View File

@@ -503,6 +503,7 @@ function saveProcess()
Ext.getCmp('newProcessForm').getForm().submit( { Ext.getCmp('newProcessForm').getForm().submit( {
url : '../processProxy/saveProcess', url : '../processProxy/saveProcess',
waitMsg : _('ID_SAVING_PROCESS'), waitMsg : _('ID_SAVING_PROCESS'),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(obj, resp) { success : function(obj, resp) {
location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID; location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID;
@@ -790,7 +791,7 @@ importProcessExistGroup = function()
uploader.getForm().submit({ uploader.getForm().submit({
url : 'processes_Import_Ajax', url : 'processes_Import_Ajax',
waitMsg : _('ID_UPLOADING_PROCESS_FILE'), waitMsg : _('ID_UPLOADING_PROCESS_FILE'),
waitTitle : "",
success : function(o, resp) { success : function(o, resp) {
var resp_ = Ext.util.JSON.decode(resp.response.responseText); var resp_ = Ext.util.JSON.decode(resp.response.responseText);
var sNewProUid = resp_.sNewProUid; var sNewProUid = resp_.sNewProUid;
@@ -919,7 +920,7 @@ importProcessExistProcess = function()
uploader.getForm().submit({ uploader.getForm().submit({
url : 'processes_Import_Ajax', url : 'processes_Import_Ajax',
waitMsg : _('ID_UPLOADING_PROCESS_FILE'), waitMsg : _('ID_UPLOADING_PROCESS_FILE'),
waitTitle : "",
success: function(o, resp) { success: function(o, resp) {
var resp_ = Ext.util.JSON.decode(resp.response.responseText); var resp_ = Ext.util.JSON.decode(resp.response.responseText);
var sNewProUid = resp_.sNewProUid; var sNewProUid = resp_.sNewProUid;
@@ -1024,6 +1025,7 @@ importProcess = function()
uploader.getForm().submit({ uploader.getForm().submit({
url : 'processes_Import_Ajax', url : 'processes_Import_Ajax',
waitMsg : _('ID_UPLOADING_PROCESS_FILE'), waitMsg : _('ID_UPLOADING_PROCESS_FILE'),
waitTitle : "",
success : function(o, resp) { success : function(o, resp) {
var resp_ = Ext.util.JSON.decode(resp.response.responseText); var resp_ = Ext.util.JSON.decode(resp.response.responseText);

View File

@@ -389,6 +389,7 @@ SaveNewRole = function(){
if (resp.success){ if (resp.success){
viewport.getEl().mask(_('ID_PROCESSING')); viewport.getEl().mask(_('ID_PROCESSING'));
newForm.getForm().submit({ newForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
viewport.getEl().unmask(); viewport.getEl().unmask();
CloseWindow(); //Hide popup widow CloseWindow(); //Hide popup widow
@@ -433,6 +434,7 @@ UpdateRole = function(){
if (resp.success){ if (resp.success){
viewport.getEl().mask(_('ID_PROCESSING')); viewport.getEl().mask(_('ID_PROCESSING'));
editForm.getForm().submit({ editForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
viewport.getEl().unmask(); viewport.getEl().unmask();
CloseWindow(); //Hide popup widow CloseWindow(); //Hide popup widow

View File

@@ -76,6 +76,7 @@ function clearCache () {
Ext.getCmp('frmCache').getForm().submit({ Ext.getCmp('frmCache').getForm().submit({
url : 'clearCompiledAjax', url : 'clearCompiledAjax',
waitMsg : _('ID_SAVING_PROCESS'), waitMsg : _('ID_SAVING_PROCESS'),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(obj, resp) { success : function(obj, resp) {
message = ''; message = '';

View File

@@ -275,6 +275,7 @@ Ext.onReady(function() {
formSettings.getForm().submit({ formSettings.getForm().submit({
url : 'environmentSettingsAjax?request=save&r=' + Math.random(), url : 'environmentSettingsAjax?request=save&r=' + Math.random(),
waitMsg : _('ID_SAVING_ENVIRONMENT_SETTINGS')+'...', waitMsg : _('ID_SAVING_ENVIRONMENT_SETTINGS')+'...',
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(res, req) { success : function(res, req) {
PMExt.notify(_('ID_PM_ENV_SETTINGS_TITLE'), req.result.msg); PMExt.notify(_('ID_PM_ENV_SETTINGS_TITLE'), req.result.msg);

View File

@@ -103,6 +103,7 @@ function saveSettings()
Ext.getCmp('frm').getForm().submit( { Ext.getCmp('frm').getForm().submit( {
url : 'loginSettingsAjax?request=saveSettings', url : 'loginSettingsAjax?request=saveSettings',
waitMsg : _('ID_SAVING_PROCESS'), waitMsg : _('ID_SAVING_PROCESS'),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(obj, resp) { success : function(obj, resp) {
//nothing to do //nothing to do

View File

@@ -151,6 +151,7 @@ Ext.onReady(function(){
action : 'test' action : 'test'
}, },
waitMsg : _('ID_NEW_SITE_TESTING'), waitMsg : _('ID_NEW_SITE_TESTING'),
waitTitle : "",
timeout : 3600, timeout : 3600,
success: function(f,a){ success: function(f,a){
nwTitle =formNewSite.getForm().findField('NW_TITLE').getValue(); nwTitle =formNewSite.getForm().findField('NW_TITLE').getValue();

View File

@@ -67,6 +67,7 @@ function saveOption()
Ext.getCmp('frmHeart').getForm().submit( { Ext.getCmp('frmHeart').getForm().submit( {
url : 'processHeartBeatAjax?action=saveOption', url : 'processHeartBeatAjax?action=saveOption',
waitMsg : _('ID_SAVING_PROCESS'), waitMsg : _('ID_SAVING_PROCESS'),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(obj, resp) { success : function(obj, resp) {
//nothing to do //nothing to do

View File

@@ -523,6 +523,7 @@ newSkin = function(){
Ext.getCmp("newform").getForm().submit({ Ext.getCmp("newform").getForm().submit({
//reset: true, //reset: true,
reset: false, reset: false,
waitTitle : "",
success: function(form, action) { success: function(form, action) {
store.reload(); store.reload();
@@ -647,6 +648,7 @@ importSkin = function(){
Ext.getCmp("uploadform").getForm().submit({ Ext.getCmp("uploadform").getForm().submit({
//reset: true, //reset: true,
reset: false, reset: false,
waitTitle : "",
success: function(form, action) { success: function(form, action) {
store.reload(); store.reload();

View File

@@ -309,6 +309,7 @@ function saveNew()
Ext.getCmp('formNew').getForm().submit( { Ext.getCmp('formNew').getForm().submit( {
url : 'ajaxListener?action=save&id'+id+'&label='+label, url : 'ajaxListener?action=save&id'+id+'&label='+label,
waitMsg : _('ID_SAVING'), waitMsg : _('ID_SAVING'),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function(obj, resp) { success : function(obj, resp) {
Ext.getCmp('grid').store.reload(); Ext.getCmp('grid').store.reload();

View File

@@ -1051,6 +1051,7 @@ function userFrmEditSubmit()
USR_CITY : global.IS_UID USR_CITY : global.IS_UID
}, },
waitMsg : _("ID_SAVING"), waitMsg : _("ID_SAVING"),
waitTitle : "",
timeout : 36000, timeout : 36000,
success : function (obj, resp) { success : function (obj, resp) {
if (!infoMode) { if (!infoMode) {

View File

@@ -586,6 +586,7 @@ RefreshGroups = function(){
SaveChangesAuthForm = function(){ SaveChangesAuthForm = function(){
viewport.getEl().mask(_('ID_PROCESSING')); viewport.getEl().mask(_('ID_PROCESSING'));
authForm.getForm().submit({ authForm.getForm().submit({
waitTitle : "",
success: function(f,a){ success: function(f,a){
LoadAuthForm(); LoadAuthForm();
viewport.getEl().unmask(); viewport.getEl().unmask();