Skip to content
Snippets Groups Projects
Commit f6efc9ef authored by gnaegi's avatar gnaegi
Browse files

non-jira: prevent potential issues when col1 is not available, don't execute code

parent 9a2af569
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ jQuery().ready(function() {
OPOL.adjustHeight();
// Main vertical splitter, anchored to the browser window
#if($existsCol1 && $r.visible("col1"))
jQuery("#b_col1").resizable({
handles: 'e',
containment: '#b_main',
......@@ -64,6 +65,7 @@ jQuery().ready(function() {
jQuery('#b_col3').css('width', (contWidth - width));
jQuery('#b_col3').css('margin-left', width);
};
#end
#if($existsCol2 && $r.visible("col2"))
jQuery("#b_col3").resizable({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment