Changeset 1713 for ZMS


Ignore:
Timestamp:
27.10.2011 21:59:39 (7 months ago)
Author:
zmsdev
Message:

Open siblings in CKEDITOR linkbutton-dialog (requested by uni-bern) (23)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/plugins/www/ckeditor/plugins/linkbutton/dialogs/link.js

    r1700 r1713  
    150150                                                        var html = zmiAddPages(result,false); 
    151151                                                        $("#myDiv").html(html); 
     152                                                        // Open siblings of current page-element. 
     153                                                        var last_page_id = $("page[is_page=1]:last",result).attr("id"); 
     154                                                        $("div#div_"+last_page_id+" > span:first").click(); 
    152155                                                }); 
    153156                                }, 
Note: See TracChangeset for help on using the changeset viewer.