Changeset 17914 for extensions/UserCollections/template/edit.tpl
- Timestamp:
- Sep 14, 2012, 5:37:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/template/edit.tpl
r17519 r17914 10 10 afterCopy: function() {ldelim} 11 11 $('.confirm').remove(); 12 $("#publicURL .url").select(); 12 13 $('<span class="confirm" style="display:none;">{'Copied'|@translate}</span>').appendTo("#publicURL") 13 14 .fadeIn(400).delay(1000).fadeOut(400, function(){ldelim} $(this).remove(); }); 14 15 } 16 }); 17 $("#publicURL .url").click(function() {ldelim} 18 $(this).select(); 15 19 }); 16 20 } … … 62 66 <label><input type="radio" name="public" value="0" {if not $collection.PUBLIC}checked="checked"{/if}> {'No'|@translate}</label> 63 67 <label><input type="radio" name="public" value="1" {if $collection.PUBLIC}checked="checked"{/if}> {'Yes'|@translate}</label> 64 <span id="publicURL" {if not $collection.PUBLIC}style="display:none;"{/if}><span class="button" title="{'Copy to clipboard'|@translate}"> </span>< span class="url">{$collection.U_PUBLIC}</span></span>68 <span id="publicURL" {if not $collection.PUBLIC}style="display:none;"{/if}><span class="button" title="{'Copy to clipboard'|@translate}"> </span><input type="text" class="url" value="{$collection.U_PUBLIC}" size="{$collection.U_PUBLIC|strlen}"></span> 65 69 </p> 66 70 <p>
Note: See TracChangeset
for help on using the changeset viewer.