Changeset 9274 for extensions/AdditionalPages/admin/template/add_page.tpl
- Timestamp:
- Feb 18, 2011, 3:55:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdditionalPages/admin/template/add_page.tpl
r9273 r9274 1 { literal}1 {html_head}{literal} 2 2 <script type="text/javascript"> 3 3 function GereChkbox(conteneur, a_faire) { … … 13 13 } 14 14 } 15 16 jQuery().ready( function () { 17 jQuery('#title').focusout(function () { 18 if (jQuery('#permalink').val() == '' && auto_permalink) 19 jQuery.post("plugins/AdditionalPages/admin/ajax.php", { str: this.value }, function(data) { 20 jQuery('#permalink').val(data); 21 auto_permalink = false; 22 }); 23 }); 24 }); 25 26 var auto_permalink = true; 15 27 </script> 16 {/literal} 28 {/literal}{/html_head} 17 29 18 30 <div class="titrePage"> … … 95 107 </tr> 96 108 </table> 97 98 109 </form>
Note: See TracChangeset
for help on using the changeset viewer.