Commit 32162e98 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "File selector on text box block config form closed by default (Bug #1311860)"

parents ee7b5e32 6ab0eaa4
......@@ -87,8 +87,15 @@ tr.folderhover a,
#editpost_filebrowser_upload_container,
#editnote_filebrowser_upload_container,
#editgoalsandskills_filebrowser_upload_container,
#editcomposite_filebrowser_upload_container {
margin-top: 10px;
#editcomposite_filebrowser_upload_container,
#instconf_artefactids_ownertabs {
margin-top: 20px;
}
#instconf_artefactids_ownertabs li.current a {
background-color: #FFFFFF;
}
#instconf_artefactids_upload_browse #artefactchooser-body {
background-color: #FFFFFF;
}
#editpost_filebrowser_upload_browse,
#editpost_filebrowser_open_upload_browse_container,
......@@ -97,7 +104,9 @@ tr.folderhover a,
#editgoalsandskills_filebrowser_upload_browse,
#editgoalsandskills_filebrowser_open_upload_browse_container,
#editcomposite_filebrowser_upload_browse,
#editcomposite_filebrowser_open_upload_browse_container {
#editcomposite_filebrowser_open_upload_browse_container,
#instconf_artefactids_upload_browse,
#instconf_artefactids_open_upload_browse_container {
padding: 5px;
}
#editpost_filebrowser_agreement,
......
......@@ -262,6 +262,10 @@ if (jQuery('#instconf_license').length) {
if (jQuery('#instconf_license_advanced_fieldset').length) {
removeElementClass(getFirstElementByTagAndClassName('fieldset', null, 'instconf_license_advanced_fieldset'), 'hidden');
}
if (jQuery('#instconf_artefactids_upload_browse')) {
addElementClass('instconf_artefactids_upload_browse', 'hidden');
removeElementClass('instconf_artefactids_open_upload_browse_container', 'hidden');
}
EOF;
}
......@@ -522,6 +526,7 @@ EOF;
$element['title'] = get_string('attachments', 'artefact.blog');
$element['name'] = 'artefactids';
$element['config']['selectone'] = false;
$element['config']['alwaysopen'] = false;
return $element;
}
......
......@@ -1001,7 +1001,9 @@ input#usertype_typesubmit,
input#designskinform_body_background_image_open_upload_browse,
input#designskinform_body_background_image_close_upload_browse,
input#designskinform_view_background_image_open_upload_browse,
input#designskinform_view_background_image_close_upload_browse {
input#designskinform_view_background_image_close_upload_browse,
input#instconf_artefactids_open_upload_browse,
input#instconf_artefactids_close_upload_browse {
padding: 4px 5px 3px 5px;
font-size: 1em;
}
......@@ -1127,7 +1129,8 @@ input#editnote_filebrowser_close_upload_browse,
input#editgoalsandskills_filebrowser_close_upload_browse,
input#editcomposite_filebrowser_close_upload_browse,
input#designskinform_body_background_image_close_upload_browse,
input#designskinform_view_background_image_close_upload_browse {
input#designskinform_view_background_image_close_upload_browse,
input#instconf_artefactids_close_upload_browse {
background: transparent url(../images/btn_close.png) no-repeat 0 0;
border: 0 !important;
margin-right: 0 !important;
......@@ -1138,6 +1141,7 @@ input#designskinform_view_background_image_close_upload_browse {
font-size: 1%;
vertical-align: top;
cursor: pointer !important;
float: right;
}
.btn-big-add {
background: transparent url(../images/btn_add.png) no-repeat 0 0 !important;
......@@ -2417,7 +2421,9 @@ table.attachments .title {
#editgoalsandskills_filebrowser_upload_browse,
#editgoalsandskills_filebrowser_open_upload_browse_container,
#editcomposite_filebrowser_upload_browse,
#editcomposite_filebrowser_open_upload_browse_container {
#editcomposite_filebrowser_open_upload_browse_container,
#instconf_artefactids_upload_browse,
#instconf_artefactids_open_upload_browse_container {
background: #EEEEEE;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment