Ignore:
Timestamp:
May 26, 2014, 11:57:07 AM (10 years ago)
Author:
plg
Message:

bug fixed: on upload form, display existing albums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/photos_add_direct.tpl

    r28533 r28539  
    3838
    3939categoriesCache.get(function(categories) {
     40  if (categories.length > 0) {
     41    jQuery("#albumSelection").show();
     42  }
     43
    4044  categories.sort(function(a, b) {
    4145    return a.fullname.localeCompare(b.fullname);
     
    336340      <legend>{'Drop into album'|@translate}</legend>
    337341
    338       <span id="albumSelection"{if count($category_options) == 0} style="display:none"{/if}>
     342      <span id="albumSelection" style="display:none">
    339343      <select data-selectize="categories" data-value="{$selected_category|@json_encode|escape:html}"
    340344        name="category" style="width:400px"></select>
Note: See TracChangeset for help on using the changeset viewer.