Enable attachments drag&drop upload for default skin

pull/13/head
Aleksander Machniak 13 years ago
parent d1d0564a91
commit f8c96f737c

@ -1448,6 +1448,14 @@ input.from_address
background-color: #F9F9F9; background-color: #F9F9F9;
} }
#compose-attachments.droptarget.hover
{
background-color: #F0F0EE;
box-shadow: 0 0 5px 0 #999;
-moz-box-shadow: 0 0 5px 0 #999;
-o-box-shadow: 0 0 5px 0 #999;
}
#compose-attachments ul #compose-attachments ul
{ {
margin: 0px; margin: 0px;

@ -49,6 +49,7 @@
<roundcube:button name="uploadmenulink" id="uploadmenulink" type="link" title="addattachment" class="button addgroup" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " /> <roundcube:button name="uploadmenulink" id="uploadmenulink" type="link" title="addattachment" class="button addgroup" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " />
</div> </div>
</div> </div>
<roundcube:object name="fileDropArea" id="compose-attachments" />
<script type="text/javascript"> <script type="text/javascript">
var composesplitv = new rcube_splitter({id:'composesplitterv', p1: 'compose-attachments', p2: 'compose-container', orientation: 'v', relative: true, start: 175}); var composesplitv = new rcube_splitter({id:'composesplitterv', p1: 'compose-attachments', p2: 'compose-container', orientation: 'v', relative: true, start: 175});

Loading…
Cancel
Save