* finish task #5626.
This commit is contained in:
@@ -121,7 +121,14 @@ $(document).ready(function()
|
||||
};
|
||||
|
||||
var defaultWidth = $.zui.store.get('splitRowFirstSize:' + id);
|
||||
if (defaultWidth) setFirstColWidth(defaultWidth);
|
||||
if(typeof(defaultWidth) !== 'undefined')
|
||||
{
|
||||
defaultWidth = 0;
|
||||
$firstCol.find('.tabs ul.nav-tabs li').each(function(){defaultWidth += $(this).outerWidth()});
|
||||
defaultWidth += ($firstCol.find('.tabs ul.nav-tabs li').length - 1) * 10;
|
||||
defaultWidth += 20;
|
||||
}
|
||||
setFirstColWidth(defaultWidth);
|
||||
|
||||
var documentEventName = '.' + id;
|
||||
|
||||
|
||||
@@ -900,6 +900,7 @@ class docModel extends model
|
||||
if(!isset($libs[$object->lib]) and !isset($extraDocLibs[$object->lib])) return false;
|
||||
|
||||
if($object->acl == 'open' and !isset($extraDocLibs[$object->lib])) return true;
|
||||
if($object->acl == 'public' and !isset($extraDocLibs[$object->lib])) return true;
|
||||
|
||||
$account = ',' . $this->app->user->account . ',';
|
||||
if(isset($object->addedBy) and $object->addedBy == $this->app->user->account) return true;
|
||||
|
||||
@@ -12,8 +12,9 @@ if($this->methodName != 'browse')
|
||||
$moduleID = '';
|
||||
}
|
||||
if(empty($type)) $type = 'product';
|
||||
$sideWidth = $app->getClientLang() == 'en' ? '270px' : '238px';
|
||||
?>
|
||||
<div class="side-col" style="width: 238px" data-min-width="240">
|
||||
<div class="side-col" style="width:<?php echo $sideWidth;?>" data-min-width="240">
|
||||
<div class="cell">
|
||||
<div class="tabs">
|
||||
<ul class='nav nav-tabs'>
|
||||
|
||||
Reference in New Issue
Block a user