Skip to content
Snippets Groups Projects
Commit dfdcbfb1 authored by Satish's avatar Satish
Browse files

Fixes #760 - Vtiger 7.1 Module manager activate/deactivate modules don't work

parent fd45fcdc
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,4 @@
* All Rights Reserved.
*************************************************************************************/
Settings_Module_Manager_Js('Settings_ModuleManager_ModuleImport_Js', {}, {});
\ No newline at end of file
Settings_ModuleManager_List_Js('Settings_ModuleManager_ModuleImport_Js', {}, {});
\ No newline at end of file
......@@ -7,7 +7,7 @@
* All Rights Reserved.
*************************************************************************************/
Vtiger_Index_Js('Settings_Module_Manager_Js', {
Vtiger_Index_Js('Settings_ModuleManager_List_Js', {
}, {
/*
* function to update the module status for the module
......@@ -68,7 +68,7 @@ Vtiger_Index_Js('Settings_Module_Manager_Js', {
}
});
container.on('click', '.finishButton', function() {
container.on('click', '.finishButton', function () {
window.location.href = jQuery('[data-name="VTLIB_LBL_MODULE_MANAGER"]').attr('href');
});
......@@ -96,9 +96,9 @@ Vtiger_Index_Js('Settings_Module_Manager_Js', {
app.helper.showProgress();
AppConnector.request(params).then(
function (data) {
app.helper.hideProgress();
AppConnector.request(params).then(
function (data) {
app.helper.hideProgress();
element.addClass('hide');
var headerMessage, containerMessage;
......@@ -110,7 +110,7 @@ Vtiger_Index_Js('Settings_Module_Manager_Js', {
containerMessage = app.vtranslate('JS_IMPORTED_MODULE');
}
app.helper.showSuccessNotification({'title': headerMessage, 'message': data.result.importModuleName+' '+containerMessage});
setTimeout(function() {
setTimeout(function () {
window.location.href = jQuery('[data-name="VTLIB_LBL_MODULE_MANAGER"]').attr('href');
}, 3000);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment