Dotclear

source: plugins/dcLegacyEditor/js/jsToolBar/popup_posts.js @ 3735:a3733e656d86

Revision 3735:a3733e656d86, 387 bytes checked in by franck <carnet.franck.paul@…>, 8 years ago (diff)

Code formating and tiny bug fixed in wysiwyg iframe markup

Line 
1/*global $ */
2'use strict';
3
4$(function() {
5     $('#link-insert-cancel').click(function() {
6          window.close();
7     });
8
9     $('#form-entries tr>td.maximal>a').click(function() {
10          // Get post_id
11          var tb = window.opener.the_toolbar;
12          var data = tb.elements.link.data;
13
14          data.href = tb.stripBaseURL($(this).attr('title'));
15
16          tb.elements.link.fncall[tb.mode].call(tb);
17          window.close();
18     });
19});
Note: See TracBrowser for help on using the repository browser.

Sites map