- Bug Fix Sip
This commit is contained in:
parent
320da7b86f
commit
c0990954e5
|
@ -577,10 +577,12 @@ $(document).ready(function () {
|
||||||
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
if (document.getElementById('table-sip') != null ) {
|
||||||
$('#table-sip').bootstrapTable('getSelections').forEach(function (entry) {
|
$('#table-sip').bootstrapTable('getSelections').forEach(function (entry) {
|
||||||
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
console.log(datas);
|
console.log(datas);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -588,15 +590,16 @@ $(document).ready(function () {
|
||||||
var dev_cmd = $(this).data('id');
|
var dev_cmd = $(this).data('id');
|
||||||
var datas = '';
|
var datas = '';
|
||||||
var i = 0;
|
var i = 0;
|
||||||
// $('table').bootstrapTable('getSelections').forEach(function (entry) {
|
|
||||||
$('#table-sccp').bootstrapTable('getSelections').forEach(function (entry) {
|
$('#table-sccp').bootstrapTable('getSelections').forEach(function (entry) {
|
||||||
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
if (document.getElementById('table-sip') != null ) {
|
||||||
$('#table-sip').bootstrapTable('getSelections').forEach(function (entry) {
|
$('#table-sip').bootstrapTable('getSelections').forEach(function (entry) {
|
||||||
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
datas = datas + 'idn[' + i + ']=' + entry['name'] + '&';
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
if (!confirm(_('Are you sure you wish to delete selected device ?'))) {
|
if (!confirm(_('Are you sure you wish to delete selected device ?'))) {
|
||||||
dev_cmd = '';
|
dev_cmd = '';
|
||||||
}
|
}
|
||||||
|
@ -616,15 +619,16 @@ $(document).ready(function () {
|
||||||
if ($(this).data('id') === 'update_button_label') {
|
if ($(this).data('id') === 'update_button_label') {
|
||||||
conf_msg = 'Update Butons Labels on All device ?';
|
conf_msg = 'Update Butons Labels on All device ?';
|
||||||
}
|
}
|
||||||
// $('table').bootstrapTable('getSelections').forEach(function (entry) {
|
|
||||||
$('#table-sccp').bootstrapTable('getSelections').forEach(function (entry) {
|
$('#table-sccp').bootstrapTable('getSelections').forEach(function (entry) {
|
||||||
datas = datas + 'name[' + i + ']=' + entry['name'] + '&';
|
datas = datas + 'name[' + i + ']=' + entry['name'] + '&';
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
if (document.getElementById('table-sip') != null ) {
|
||||||
$('#table-sip').bootstrapTable('getSelections').forEach(function (entry) {
|
$('#table-sip').bootstrapTable('getSelections').forEach(function (entry) {
|
||||||
datas = datas + 'name[' + i + ']=' + entry['name'] + '&';
|
datas = datas + 'name[' + i + ']=' + entry['name'] + '&';
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (datas === '') {
|
if (datas === '') {
|
||||||
if (confirm(conf_msg)) {
|
if (confirm(conf_msg)) {
|
||||||
|
|
Loading…
Reference in a new issue