Update module category in updater.json

Update module category in updater.json - this is used in Module Admin
Remove unused JS
This commit is contained in:
steve-lad 2021-06-08 15:23:43 +02:00
parent dface29681
commit 7f96c121fa
2 changed files with 3 additions and 34 deletions

View file

@ -25,37 +25,7 @@ $(document).ready(function () {
} }
}); });
/* // ajaxsubmit2 is "Save and continue" - saves form data and stays on form
$('#ajaxbackup').on('click', function (e) {
var vdata = '';
var snd_command = 'backupsettings';
$('.fpbx-submit').each(function () {
vdata = vdata + $(this).serialize() + '&';
});
$.ajax({
type: 'POST',
url: 'ajax.php?module=sccp_manager&command=' + snd_command,
data: vdata,
success: function (data) {
if (data.status === true) {
if (data.message) {
alert(data.message);
} else {
alert('Data Save');
}
} else {
if (Array.isArray(data.message)) {
data.message.forEach(function (entry) {
fpbxToast(entry, 'error', 'error');
});
}
}
}
});
});
*/
$('#ajaxsubmit2').on('click', function (e) { $('#ajaxsubmit2').on('click', function (e) {
var vdata = ''; var vdata = '';
var snd_command = 'savesettings'; var snd_command = 'savesettings';
@ -93,7 +63,7 @@ $(document).ready(function () {
} }
}); });
}); });
// ajaxsubmit is save and close form
$('#ajaxsubmit').on('click', function (e) { $('#ajaxsubmit').on('click', function (e) {
var vdata = ''; var vdata = '';
var snd_command = 'savesettings'; var snd_command = 'savesettings';
@ -136,7 +106,6 @@ $(document).ready(function () {
if (data.search != null) { if (data.search != null) {
location.search = data.search; location.search = data.search;
} }
// if (data.reload === true ) {
if (data.reload === true && old_style ===true ) { if (data.reload === true && old_style ===true ) {
location.reload(); location.reload();
} }

View file

@ -7,7 +7,7 @@
"license": "GPL", "license": "GPL",
"licenselink": "http://www.gnu.org/licenses/gpl.txt", "licenselink": "http://www.gnu.org/licenses/gpl.txt",
"changelog": "*14.2.0.3* Fix module database definition\n*14.2.0.3* Fix module database definition\n*14.2.0.2* First release of new version without old interface\n*13.0.0.1* Packaging of ver 1.0.0.1\n*12.0.0.1* Packaging of ver 1.0.0.1", "changelog": "*14.2.0.3* Fix module database definition\n*14.2.0.3* Fix module database definition\n*14.2.0.2* First release of new version without old interface\n*13.0.0.1* Packaging of ver 1.0.0.1\n*12.0.0.1* Packaging of ver 1.0.0.1",
"category": "Settings", "category": "Sccp Connectivity",
"description": "The Cisco Manager module lets you manage the chan-sccp module.", "description": "The Cisco Manager module lets you manage the chan-sccp module.",
"depends": { "depends": {
"version": "14.0" "version": "14.0"