]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: Import upload button was obscured on Android browser.
authorThomas Tanghus <thomas@tanghus.net>
Thu, 7 Jun 2012 08:54:25 +0000 (10:54 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Thu, 7 Jun 2012 08:55:40 +0000 (10:55 +0200)
apps/contacts/js/contacts.js
apps/contacts/templates/part.importaddressbook.php

index e15dc0278f6f89712b2829604039181cd140ee57..6c9c1a52626a73ac4ca2af33650e035c5e14dad4 100644 (file)
@@ -1290,7 +1290,7 @@ Contacts={
                                        $.getJSON(OC.filePath('contacts', 'ajax', 'chooseaddressbook.php'), function(jsondata){
                                                if(jsondata.status == 'success'){
                                                        $('#addressbook_dialog').html(jsondata.data.page).find('#chooseaddressbook_dialog').dialog({
-                                                               width : 600,
+                                                               minWidth : 600,
                                                                close : function(event, ui) {
                                                                        $(this).dialog('destroy').remove();
                                                                        $('#addressbook_dialog').remove();
index 6702262f231625e39e4ff61bebbf9cea917e4f8e..cb5d68149ec80dd63e304e87c87fa9b159ae1118 100644 (file)
@@ -22,7 +22,7 @@ if(OCP\App::isEnabled('files_encryption')) {
                        echo OCP\html_select_options($contacts_options, $contacts_options[0]['id'], array('value'=>'id', 'label'=>'displayname'));
                        ?>
                        </select>
-                       <span id="import_drop_target" class="droptarget float"><?php echo $l->t("Drop a VCF file to import contacts."); ?> (Max. <?php echo  $_['uploadMaxHumanFilesize']; ?>)</span>
+                       <span id="import_drop_target" class="droptarget float"><?php echo $l->t("Drop a VCF file<br />to import contacts."); ?> (Max. <?php echo  $_['uploadMaxHumanFilesize']; ?>)</span>
                        <a class="svg upload float" title="<?php echo $l->t('Select from HD'); ?>">
                        <input class="float" id="import_upload_start" type="file" accept="text/*" name="importfile" /></a>
                        <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">