diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index 4040b91..62bf090 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -1942,7 +1942,6 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { if (!empty($value[0])) { if (!in_array($value[0], array('0.0.0.0', '127.0.0.1'), true)) { $xnode_obj = clone $xnode->member; - $xnode_obj['priority'] = $ifc; //$xnode_obj = &$xnode -> member -> callManager; $xnode_obj->callManager->name = $this->sccpvalues['servername']['data']; diff --git a/assets/js/sccp_manager.js b/assets/js/sccp_manager.js index 8750a9e..ba50225 100644 --- a/assets/js/sccp_manager.js +++ b/assets/js/sccp_manager.js @@ -396,7 +396,7 @@ $(document).ready(function () { // $("#add_new_model").modal('hide'); } - if ($(this).data('id') === 'model_applay') { + if ($(this).data('id') === 'model_apply') { var dev_cmd = 'model_update'; var dev_fld = ["model", "loadimage", "nametemplate"]; datas = ''; @@ -609,7 +609,7 @@ function load_oncliсk(e, data) { opts_idx = j; } } - if (opts_idx => 0) { + if (opts_idx >= 0) { $('#destination_' + dev_fld[i]).append($(opts[opts_idx]).clone()); $(opts[opts_idx]).remove(); } diff --git a/views/advserver.model.php b/views/advserver.model.php index 75bad43..a742931 100644 --- a/views/advserver.model.php +++ b/views/advserver.model.php @@ -36,7 +36,7 @@ - + @@ -194,7 +194,7 @@ diff --git a/views/form.buttons.php b/views/form.buttons.php index 3b3e3a5..5ac379b 100644 --- a/views/form.buttons.php +++ b/views/form.buttons.php @@ -64,8 +64,8 @@ if (!empty($_REQUEST['new_id'])) {