From e002f1643b1c3836abfa5e7f96e4c4121eec47b3 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Thu, 30 Oct 2014 11:17:51 -0400 Subject: [PATCH] Remove split from ajaxLoadTab. VUFIND-1039 --- themes/bootstrap3/js/record.js | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js index 17f989f5fad..5d895e699c3 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({ -- GitLab