mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Fix vfs upload select-file dialog
This commit is contained in:
parent
c48065f4c3
commit
b34adb3108
@ -985,11 +985,12 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned, et2_IResize
|
||||
|
||||
resize: function (_height)
|
||||
{
|
||||
if (typeof this.options != 'undefined' && _height)
|
||||
if (typeof this.options != 'undefined' && _height
|
||||
&& typeof this.options.resize_ratio != 'undefined' && this.options.resize_ratio)
|
||||
{
|
||||
// apply the ratio
|
||||
_height = (this.options.resize_ratio != '')? _height * this.options.resize_ratio: _height;
|
||||
//if (_height != 0) this.table.height(this.table.height() + _height );
|
||||
if (_height != 0) this.table.height(this.table.height() + _height );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -72,9 +72,12 @@ div.filemanager_navigation > label > input {
|
||||
.selectName input { width: 100%; }
|
||||
.selectMime select { width: 100%; }
|
||||
.displayNone input, input.displayNone { display: none; }
|
||||
.selectFiles td div { border-style: groove; }
|
||||
.selectFiles div { max-height: 400px; overflow:auto;}
|
||||
|
||||
.selectFiles div { overflow-y: auto;}
|
||||
#filemanager-select_dir {
|
||||
height:400px;
|
||||
overflow-y: scroll;
|
||||
display:inline-block;
|
||||
}
|
||||
/**
|
||||
* VFS mounts and versioning
|
||||
*/
|
||||
@ -89,3 +92,12 @@ div.filemanager_navigation > label > input {
|
||||
.filemanager_config > * {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.error{color:red; font-style:italic;}
|
||||
.createDir img {padding-right:30px;}
|
||||
#filemanager-select_apps {
|
||||
width: 61px;
|
||||
height: 400px;
|
||||
margin-top: 44px;
|
||||
display: inline-block;
|
||||
overflow-y: scroll;
|
||||
}
|
@ -2,14 +2,14 @@
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="filemanager.select" template="" lang="" group="0" version="1.9.002">
|
||||
<grid width="100%">
|
||||
<grid width="100%" resize_ratio="1">
|
||||
<columns>
|
||||
<column width="32"/>
|
||||
<column/>
|
||||
<column />
|
||||
</columns>
|
||||
<rows>
|
||||
<row valign="top">
|
||||
<grid id="apps">
|
||||
<grid id="apps" resize_ratio="1">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
@ -22,7 +22,7 @@
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid width="100%">
|
||||
<grid width="100%" resize_ratio="1">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
@ -38,8 +38,8 @@
|
||||
<button label="Create directory" id="button[createdir]" onclick="app.filemanager.createdir" image="button_createdir" ro_image="createdir_disabled" class="createDir"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row class="selectFiles">
|
||||
<grid width="100%" overflow="auto" id="dir">
|
||||
<row class="selectFiles file_dir_height" resize_ratio="1">
|
||||
<grid width="100%" id="dir" resize_ratio="1" >
|
||||
<columns>
|
||||
<column width="20"/>
|
||||
<column/>
|
||||
@ -69,6 +69,9 @@
|
||||
<file id="file_upload"/>
|
||||
</groupbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</row>
|
||||
<row class="dialogFooterToolbar">
|
||||
<hbox align="right">
|
||||
<button label="@label" id="button[ok]" image="save" background_image="1"/>
|
||||
@ -77,12 +80,5 @@
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<styles>
|
||||
.error{color:red; font-style:italic;}
|
||||
.createDir img {padding-right:30px;}
|
||||
</styles>
|
||||
</template>
|
||||
</overlay>
|
@ -115,12 +115,13 @@ div.filemanager_navigation > label > input {
|
||||
input.displayNone {
|
||||
display: none;
|
||||
}
|
||||
.selectFiles td div {
|
||||
border-style: groove;
|
||||
}
|
||||
.selectFiles div {
|
||||
max-height: 400px;
|
||||
overflow: auto;
|
||||
overflow-y: auto;
|
||||
}
|
||||
#filemanager-select_dir {
|
||||
height: 400px;
|
||||
overflow-y: scroll;
|
||||
display: inline-block;
|
||||
}
|
||||
/**
|
||||
* VFS mounts and versioning
|
||||
@ -136,6 +137,20 @@ input.displayNone {
|
||||
.filemanager_config > * {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.error {
|
||||
color: red;
|
||||
font-style: italic;
|
||||
}
|
||||
.createDir img {
|
||||
padding-right: 30px;
|
||||
}
|
||||
#filemanager-select_apps {
|
||||
width: 61px;
|
||||
height: 400px;
|
||||
margin-top: 44px;
|
||||
display: inline-block;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
/*/*****************************************************************
|
||||
// sidebar
|
||||
|
||||
@ -314,9 +329,6 @@ table.egwGridView_grid img {
|
||||
}
|
||||
/*// #####################################################*/
|
||||
/*Dialog filemanager*/
|
||||
#filemanager-select {
|
||||
padding: 0px 8px 0 0;
|
||||
}
|
||||
#filemanager-select .dialogHeader .et2_button_icon {
|
||||
margin: 4px 4px 0 4px;
|
||||
border-top: solid 1px #ffffff;
|
||||
|
@ -221,8 +221,6 @@ table.egwGridView_grid img {
|
||||
|
||||
#filemanager-select{
|
||||
|
||||
padding: 0px 8px 0 0;
|
||||
|
||||
.dialogHeader{
|
||||
.et2_button_icon{
|
||||
margin: 4px 4px 0 4px;
|
||||
|
Loading…
Reference in New Issue
Block a user