Dotclear


Ignore:
Timestamp:
12/07/16 17:12:43 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add button type to non submit button, add meta-helper class to meta editor buttons, cope with helper buttons in confirm-close.js, addresses #2226

The

chainHandler(window,'onload',function() {

confirmClosePage.getCurrentForms();

});

seems to be run before all DOM ready (with all js done), CKEditor or LegacyEditor? add some stuff to current form after that ?!?
a 1 second delay to run again confirmClosePage.getCurrentForms() is not enough…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/popup_link.php

    r3434 r3445  
    4040'</form>'. 
    4141 
    42 '<p><button class="reset" id="link-insert-cancel">'.__('Cancel').'</button> - '. 
    43 '<button id="link-insert-ok"><strong>'.__('Insert').'</strong></button></p>'."\n". 
     42'<p><button type="button" class="reset" id="link-insert-cancel">'.__('Cancel').'</button> - '. 
     43'<button type="button" id="link-insert-ok"><strong>'.__('Insert').'</strong></button></p>'."\n". 
    4444 
    4545'<script type="text/javascript">'."\n". 
Note: See TracChangeset for help on using the changeset viewer.

Sites map