Ignore:
Timestamp:
05/28/14 21:04:40 (5 years ago)
Author:
mistic100
Message:

feature 3077 : fix addAlbum process when creating the first ever album, improve data API

File:
1 edited

Legend:

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

    r28554 r28555  
    2828    if (categories.length > 0) { 
    2929      jQuery("#albumSelection, .selectFiles, .showFieldset").show(); 
    30       options.default = categories[0].id; 
    3130    } 
    3231     
     
    202201      <span id="albumSelection" style="display:none"> 
    203202      <select data-selectize="categories" data-value="{$selected_category|@json_encode|escape:html}" 
    204         name="category" style="width:400px"></select> 
     203        data-default="first" name="category" style="width:400px"></select> 
    205204      <br>{'... or '|@translate}</span> 
    206205      <a href="#" data-add-album="category" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> 
Note: See TracChangeset for help on using the changeset viewer.