From 759ac0014b58feabfb5e5747fd9b48a6a8889208 Mon Sep 17 00:00:00 2001 From: Garrett Date: Mon, 10 May 2021 05:10:33 +0000 Subject: [PATCH] 0.3.16 --- CHANGELOG | 1 + assets/pages/jquery.cabinets.js | 9 +++++++++ assets/pages/jquery.explore.js | 10 +++++----- assets/pages/jquery.templates.js | 4 ++++ environment.php | 2 +- includes/modals.php | 4 ++-- 6 files changed, 22 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1c5d8c4..6b557e9 100755 --- a/CHANGELOG +++ b/CHANGELOG @@ -40,6 +40,7 @@ Contents [Enhance] Improved password hashing [Enhance] Added support for ST connectors [Fix] Hyphen encoded in search results +[Fix] Cabinet cable paths inaccessible **Changes introduced in 0.3.15 [Fix] Floorplan object ports not available when making new connection diff --git a/assets/pages/jquery.cabinets.js b/assets/pages/jquery.cabinets.js index b6d4ff6..50fb4df 100755 --- a/assets/pages/jquery.cabinets.js +++ b/assets/pages/jquery.cabinets.js @@ -89,6 +89,8 @@ function makePathDeleteClickable(selectSource){ $('.pathDistanceNumber').editable({ showbuttons: false, mode: 'inline', + showbuttons: false, + onblur: 'submit', source: selectSource, url: 'backend/process_cabinet.php', params: function(params){ @@ -122,6 +124,8 @@ function makePathDeleteClickable(selectSource){ $('.pathNotesText').editable({ showbuttons: false, mode: 'inline', + showbuttons: false, + onblur: 'submit', url: 'backend/process_cabinet.php', params: function(params){ var data = { @@ -347,6 +351,8 @@ function initializeEditable(){ }, pk: 1, mode: 'inline', + showbuttons: false, + onblur: 'submit', url: 'backend/process_cabinet-objects.php', params: function(params){ var selectedObjID = $(document).data('selectedObjectID'); @@ -379,6 +385,8 @@ function initializeEditable(){ }, pk: 1, mode: 'inline', + showbuttons: false, + onblur: 'submit', url: 'backend/process_floorplan-objects.php', params: function(params){ var selectedFloorplanObjID = $(document).data('selectedFloorplanObjectID'); @@ -1651,6 +1659,7 @@ $( document ).ready(function() { cablePathLine += ''; cablePathLine += ''; cablePathLine += ''; + console.log('Debug (cablePathLine): '+cablePathLine); $('#cablePathTableBody').append(cablePathLine); makePathDeleteClickable(responseJSON.success.localCabinets); } diff --git a/assets/pages/jquery.explore.js b/assets/pages/jquery.explore.js index a180b12..fe037e6 100755 --- a/assets/pages/jquery.explore.js +++ b/assets/pages/jquery.explore.js @@ -14,7 +14,7 @@ function initializeEditable(){ pk: 1, mode: 'inline', showbuttons: false, - onblure: 'submit', + onblur: 'submit', url: 'backend/process_port.php', params: function(params){ @@ -968,10 +968,10 @@ $( document ).ready(function() { }); // Initialize cable path table - $('#cablePathTable').DataTable().off('click'); - $('#cablePathTable').DataTable().destroy(); - $('#cablePathTableBody').html(table); - var pathTable = $('#cablePathTable').DataTable({ + $('#pathFinderTable').DataTable().off('click'); + $('#pathFinderTable').DataTable().destroy(); + $('#pathFinderTableBody').html(table); + var pathTable = $('#pathFinderTable').DataTable({ 'searching': false, 'paging': false, 'info': false diff --git a/assets/pages/jquery.templates.js b/assets/pages/jquery.templates.js index c43f61d..efdbf8c 100755 --- a/assets/pages/jquery.templates.js +++ b/assets/pages/jquery.templates.js @@ -416,6 +416,8 @@ function makeRackObjectsClickable(){ }, pk: 1, mode: 'inline', + showbuttons: false, + onblur: 'submit', url: 'backend/process_object-custom.php', params: function(params){ var data = { @@ -628,6 +630,8 @@ function makeRackObjectsClickable(){ }, pk: 1, mode: 'inline', + showbuttons: false, + onblur: 'submit', url: 'backend/process_object-custom.php', params: function(params){ var data = { diff --git a/environment.php b/environment.php index b98df9e..efceefe 100755 --- a/environment.php +++ b/environment.php @@ -110,7 +110,7 @@ $qls->Security->check_auth_page('operator.php'); Cabinet - + Left diff --git a/includes/modals.php b/includes/modals.php index 52ebb9c..1ba5c8f 100755 --- a/includes/modals.php +++ b/includes/modals.php @@ -118,7 +118,7 @@
- +
@@ -129,7 +129,7 @@ - +
MediaType