Changeset 12616
- Timestamp:
- Nov 13, 2011, 12:16:22 AM (12 years ago)
- Location:
- extensions/community
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/community/add_photos.php
r12333 r12616 78 78 $page['infos'] = array(); 79 79 80 if (isset($_POST[' name']))80 if (isset($_POST['set_photo_properties'])) 81 81 { 82 82 $data = array(); … … 107 107 array( 108 108 'primary' => array('id'), 109 'update' => array_ keys($updates[0])109 'update' => array_diff(array_keys($updates[0]), array('id')) 110 110 ), 111 111 $updates -
extensions/community/add_photos.tpl
r12333 r12616 162 162 jQuery(this).parent(".showFieldset").hide(); 163 163 jQuery("#photoProperties").show(); 164 jQuery("input[name=set_photo_properties]").attr('checked', true); 164 165 }); 165 166 … … 464 465 <legend>{'Photo Properties'|@translate}</legend> 465 466 467 <input type="checkbox" name="set_photo_properties" style="display:none"> 468 466 469 <p> 467 470 {'Name'|@translate}<br>
Note: See TracChangeset
for help on using the changeset viewer.