BUG 7190 El boton Save no esta desplegando ningun mensaje SOLVED
- Despues de presionar el boton "Save" en las propiedades de las tareas simplemente se estaba cerrando el panel - Ahora despues de cerrar el panel se muestra un mensaje de confirmacióe que los cambios fuerin guardados con exito
This commit is contained in:
@@ -1564,7 +1564,7 @@ leimnud.Package.Public({
|
|||||||
});
|
});
|
||||||
//alert(this.spaceOutPanel().y)
|
//alert(this.spaceOutPanel().y)
|
||||||
var tamH = this.elements.titleBar.offsetHeight+this.elements.statusBar.offsetHeight+this.elements.headerBar.offsetHeight;
|
var tamH = this.elements.titleBar.offsetHeight+this.elements.statusBar.offsetHeight+this.elements.headerBar.offsetHeight;
|
||||||
var heightContent = this.options.size.h-tamH-(this.tab.options ? 16 : 0);
|
var heightContent = this.options.size.h-tamH-(this.tab.options ? 20 : 0);
|
||||||
//var heightContent = this.options.size.h-(this.elements.statusBar.clientHeight+this.elements.headerBar.clientHeight);
|
//var heightContent = this.options.size.h-(this.elements.statusBar.clientHeight+this.elements.headerBar.clientHeight);
|
||||||
//alert(this.elements.titleBar.clientHeight+":"+this.elements.statusBar.offsetHeight+":"+this.elements.headerBar.clientHeight)
|
//alert(this.elements.titleBar.clientHeight+":"+this.elements.statusBar.offsetHeight+":"+this.elements.headerBar.clientHeight)
|
||||||
this.parent.dom.setStyle(this.elements.content,this.setStyle.content || {});
|
this.parent.dom.setStyle(this.elements.content,this.setStyle.content || {});
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ var re2 = /@amp@/g;
|
|||||||
var saveDataTaskTemporal = function(iForm)
|
var saveDataTaskTemporal = function(iForm)
|
||||||
{
|
{
|
||||||
oAux = getField('TAS_UID');
|
oAux = getField('TAS_UID');
|
||||||
|
|
||||||
if (oAux)
|
if (oAux)
|
||||||
{
|
{
|
||||||
switch (iLastTab)
|
switch (iLastTab)
|
||||||
@@ -44,7 +44,7 @@ var saveDataTaskTemporal = function(iForm)
|
|||||||
{
|
{
|
||||||
oTaskData.TAS_ASSIGN_TYPE = 'EVALUATE';
|
oTaskData.TAS_ASSIGN_TYPE = 'EVALUATE';
|
||||||
}
|
}
|
||||||
/* this feature is temporarily disabled
|
/* this feature is temporarily disabled
|
||||||
if (getField('TAS_ASSIGN_TYPE][STATIC_MI').checked)
|
if (getField('TAS_ASSIGN_TYPE][STATIC_MI').checked)
|
||||||
{
|
{
|
||||||
oTaskData.TAS_ASSIGN_TYPE = 'STATIC_MI';
|
oTaskData.TAS_ASSIGN_TYPE = 'STATIC_MI';
|
||||||
@@ -145,7 +145,7 @@ var saveTaskData = function(oForm, iForm, iType)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
oTaskData.TAS_UID = getField('TAS_UID').value;
|
oTaskData.TAS_UID = getField('TAS_UID').value;
|
||||||
/* while (oTaskData.TAS_TITLE.charAt(0)==' '){
|
/* while (oTaskData.TAS_TITLE.charAt(0)==' '){
|
||||||
oTaskData.TAS_TITLE = oTaskData.TAS_TITLE.substring(1,oTaskData.TAS_TITLE.length) ;
|
oTaskData.TAS_TITLE = oTaskData.TAS_TITLE.substring(1,oTaskData.TAS_TITLE.length) ;
|
||||||
} */
|
} */
|
||||||
oTaskData.TAS_TITLE=oTaskData.TAS_TITLE.trim();
|
oTaskData.TAS_TITLE=oTaskData.TAS_TITLE.trim();
|
||||||
@@ -171,7 +171,14 @@ var saveTaskData = function(oForm, iForm, iType)
|
|||||||
oTaskData.TAS_START = (oTaskData.TAS_START == 'TRUE' ? true : false);
|
oTaskData.TAS_START = (oTaskData.TAS_START == 'TRUE' ? true : false);
|
||||||
Pm.data.render.setTaskINI({task: oTaskData.TAS_UID, value: oTaskData.TAS_START});
|
Pm.data.render.setTaskINI({task: oTaskData.TAS_UID, value: oTaskData.TAS_START});
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
new leimnud.module.app.info().make( {
|
||||||
|
label: changesSavedLabel
|
||||||
|
});
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
// No show confirmation
|
||||||
|
}
|
||||||
Pm.tmp.propertiesPanel.remove();
|
Pm.tmp.propertiesPanel.remove();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -182,8 +189,8 @@ var showTriggers = function(sStep, sType)
|
|||||||
async : false,
|
async : false,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
args : 'action=showTriggers&sProcess=' + Pm.options.uid + '&sStep=' + sStep + '&sType=' + sType
|
args : 'action=showTriggers&sProcess=' + Pm.options.uid + '&sStep=' + sStep + '&sType=' + sType
|
||||||
});
|
});
|
||||||
|
|
||||||
oRPC.make();
|
oRPC.make();
|
||||||
|
|
||||||
document.getElementById('triggersSpan_' + sStep + '_' + sType).innerHTML = oRPC.xmlhttp.responseText;
|
document.getElementById('triggersSpan_' + sStep + '_' + sType).innerHTML = oRPC.xmlhttp.responseText;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
global $RBAC;
|
global $RBAC;
|
||||||
$access = $RBAC->userCanAccess('PM_FACTORY');
|
$access = $RBAC->userCanAccess('PM_FACTORY');
|
||||||
if( $access != 1 ){
|
if( $access != 1 ){
|
||||||
switch ($access)
|
switch ($access)
|
||||||
@@ -41,9 +41,9 @@ if( $access != 1 ){
|
|||||||
G::SendTemporalMessage('ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels');
|
G::SendTemporalMessage('ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels');
|
||||||
G::header('location: ../login/login');
|
G::header('location: ../login/login');
|
||||||
die;
|
die;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$processUID = $_GET['PRO_UID'];
|
$processUID = $_GET['PRO_UID'];
|
||||||
|
|
||||||
//if ( isset($_SESSION['PROCESSMAP']) && $_SESSION['PROCESSMAP'] == 'BPMN' ) {
|
//if ( isset($_SESSION['PROCESSMAP']) && $_SESSION['PROCESSMAP'] == 'BPMN' ) {
|
||||||
@@ -90,7 +90,8 @@ $oHeadPublisher->addScriptCode( '
|
|||||||
images_dir :"/jscore/processmap/core/images/"
|
images_dir :"/jscore/processmap/core/images/"
|
||||||
}
|
}
|
||||||
Pm.make();
|
Pm.make();
|
||||||
});' );
|
});
|
||||||
|
var changesSavedLabel = "' . addslashes(G::LoadTranslation('ID_SAVED_SUCCESSFULLY')) . '";' );
|
||||||
|
|
||||||
if( ! isset($_GET['raw']) )
|
if( ! isset($_GET['raw']) )
|
||||||
G::RenderPage('publish', 'green-submenu');
|
G::RenderPage('publish', 'green-submenu');
|
||||||
|
|||||||
Reference in New Issue
Block a user