Improvement wizard of installator

This commit is contained in:
Marco Antonio Nina
2013-03-11 11:13:58 -04:00
parent 6409166060
commit e0d211add5
3 changed files with 7 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -843,6 +843,7 @@ class Installer extends Controller
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
$info->result = true;
$info->message = G::LoadTranslation('ID_INSTALL_SUCESS');
$info->messageFinish = G::LoadTranslation('ID_PROCESSMAKER_SUCCESS_INSTALLED', SYS_LANG, Array($workspace));;
} catch (Exception $e) {
$info->canRedirect = false;
@@ -1026,6 +1027,7 @@ class Installer extends Controller
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
$info->result = true;
$info->message = G::LoadTranslation('ID_INSTALL_SUCESS');
$info->url = '/sys' . $_REQUEST['workspace'] . '/en/classic/main/login';
$info->messageFinish = G::LoadTranslation('ID_PROCESSMAKER_SUCCESS_INSTALLED', SYS_LANG, Array($workspace));;
} catch (Exception $e) {
$info->result = false;
@@ -1199,3 +1201,4 @@ class Installer extends Controller
return $info;
}
}

View File

@@ -42,7 +42,7 @@ Ext.onReady(function(){
function finishInstallation()
{
wizard.showLoadMask(true, 'finishing');
wizard.showLoadMask(true, _('ID_FINISH'));
Ext.Ajax.request({
url: 'createWorkspace',
success: function(response){
@@ -54,8 +54,8 @@ function finishInstallation()
//Ext.msgBoxSlider.msgTopCenter(
PMExt.info(
'ProcessMaker Installation',
'ProcessMaker was successfully installed<br/>Workspace "' + Ext.getCmp('workspace').getValue() + '" was installed correctly.',
_('ID_PROCESSMAKER_INSTALLATION'),
response.messageFinish,
function(){
_redirect(response.uri);
}