|
@@ -46,16 +46,13 @@ var hide_bar = function() {
|
|
|
}
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
- if ($(window).width() <= 800 ) {
|
|
|
- $("#template_col").hide();
|
|
|
+ if ($(window).width() <= 785 ) {
|
|
|
+ hide_bar();
|
|
|
}
|
|
|
|
|
|
$("#hide_bar_template").toggle(
|
|
|
function() {
|
|
|
- $("#template_col").hide();
|
|
|
- $("#doc_form").removeClass("span9");
|
|
|
- $("#doc_form").addClass("span11");
|
|
|
- $(this).css({"background-image" : \'url("../img/hide2.png")\'})
|
|
|
+ hide_bar();
|
|
|
},
|
|
|
function() {
|
|
|
$("#template_col").show();
|
|
@@ -464,7 +461,7 @@ if ($owner_id == api_get_user_id() || api_is_platform_admin() || $is_allowed_to_
|
|
|
Display::display_warning_message(get_lang('BrowserDontSupportsSVG'));
|
|
|
}
|
|
|
echo '<div class="row-fluid" style="overflow:hidden">
|
|
|
- <div id="template_col" class="span2" style="width:180px">
|
|
|
+ <div id="template_col" class="span2" style="width:162px">
|
|
|
<div id="frmModel" style="overflow: visible;"></div>
|
|
|
</div>
|
|
|
<div id="hide_bar_template"></div>
|