Skip to content
Snippets Groups Projects
Commit ff6dab92 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Hierarchy tree lightbox fix for Bootstrap.

parent 26a8438c
No related merge requests found
......@@ -136,12 +136,12 @@ function doTreeSearch()
$(document).ready(function()
{
// Code for the search button
// Code for the search button
$('#treeSearch input[type="submit"]').click(doTreeSearch);
hierarchyID = $("#hierarchyTree").find(".hiddenHierarchyId")[0].value;
var recordID = $("#hierarchyTree").find(".hiddenRecordId")[0].value;
var scroller = hierarchySettings.lightboxMode ? '#modalDialog' : '#hierarchyTree';
var scroller = hierarchySettings.lightboxMode ? '#modal .modal-body' : '#hierarchyTree';
var context = $("#hierarchyTree").find(".hiddenContext")[0].value;
if (!hierarchySettings.fullHierarchy) {
......@@ -281,7 +281,7 @@ function html_entity_decode(string, quote_style) {
tmp_str = tmp_str.split(entity).join(symbol);
}
tmp_str = tmp_str.split(''').join("'");
return tmp_str;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment