source:
admin/js/jsToolBar/popup_posts.js
@
0:54703be25dd6
Revision 0:54703be25dd6, 362 bytes checked in by Dsls <dsls@…>, 14 years ago (diff) |
---|
Line | |
---|---|
1 | $(function() { |
2 | $('#link-insert-cancel').click(function() { |
3 | window.close(); |
4 | }); |
5 | |
6 | $('#form-entries tr>td.maximal>a').click(function() { |
7 | // Get post_id |
8 | var tb = window.opener.the_toolbar; |
9 | var data = tb.elements.link.data; |
10 | |
11 | data.href = tb.stripBaseURL($(this).attr('title')); |
12 | |
13 | tb.elements.link.fncall[tb.mode].call(tb); |
14 | window.close(); |
15 | }); |
16 | }); |
Note: See TracBrowser
for help on using the repository browser.