diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js index 17f989f5fad94f97c419cf4729d2754215adcba2..5d895e699c315d482776df3773496cb4077e319d 100644 --- a/themes/bootstrap3/js/record.js +++ b/themes/bootstrap3/js/record.js @@ -165,7 +165,6 @@ function registerTabEvents() { function ajaxLoadTab(tabid) { var id = $('.hiddenId')[0].value; - var parts = document.URL.split("/"); // Grab the part of the url that is the Controller and Record ID var urlroot = document.URL.match(new RegExp('/[^/]+/'+id+'/')); $.ajax({