PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 6.0.6
Taskbuilder – Project Management & Task Management Tool With Kanban Board v6.0.6
6.0.6 6.0.5 6.0.2 6.0.3 6.0.4 6.0.1 6.0.0 5.0.8 5.0.9 4.0.9 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 All 58 releases
← All changes | asset/js/modal.js +87 -87 5.0.66.0.6 View file →
@@ -1,88 +1,88 @@
1 - jQuery(document).ready(function(){
2 - jQuery('#wppm_popup_background,.wppm_popup_close').click(function(){
3 - wppm_modal_close();
4 - });
5 - jQuery('#wppm_task_popup_background,.wppm_task_popup_close').click(function(){
6 - wppm_modal_close();
7 - });
8 - jQuery(document).keyup(function(e){
9 - if (e.keyCode == 27) {
10 - wppm_modal_close();
11 - }
12 - });
13 - });
14 -
15 - function wppm_modal_open(title){
16 - jQuery('#wppm_popup_title h3').text(title);
17 - jQuery('#wppm_popup_body').html(wppm_admin.loading_html);
18 - jQuery('.wppm_popup_action').hide();
19 - jQuery('#wppm_popup_container,#wppm_popup_background').show();
20 - }
21 -
22 - function wppm_modal_close(){
23 - jQuery('#wppm_popup_container,#wppm_popup_background').hide();
24 - }
25 -
26 - function wppm_modal_close_thread(tinymce_toolbar){
27 -
28 - jQuery('#wppm_popup_container,#wppm_popup_background').hide();
29 - var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
30 - if(is_tinymce){
31 - tinymce.init({
32 - selector:'#wppm_reply_box',
33 - body_id: 'wppm_reply_box',
34 - menubar: false,
35 - statusbar: false,
36 - autoresize_min_height: 150,
37 - wp_autoresize_on: true,
38 - plugins: [
39 - 'wpautoresize lists link image directionality'
40 - ],
41 - toolbar: tinymce_toolbar.join() +' | wppm_templates',
42 - branding: false,
43 - autoresize_bottom_margin: 20,
44 - browser_spellcheck : true,
45 - relative_urls : false,
46 - remove_script_host : false,
47 - convert_urls : true
48 - });
49 - }
50 - }
51 -
52 - function wppm_task_modal_open(title){
53 - jQuery('#wppm_task_popup_title h3').text(title);
54 - jQuery('#wppm_task_popup_body').html(wppm_admin.loading_html);
55 - jQuery('.wppm_task_popup_action').hide();
56 - jQuery('#wppm_task_popup_container,#wppm_task_popup_background').show();
57 - }
58 -
59 - function wppm_task_modal_close(){
60 - jQuery('#wppm_task_popup_container,#wppm_task_popup_background').hide();
61 - }
62 -
63 - function wppm_task_modal_close_thread(tinymce_toolbar){
64 -
65 - jQuery('#wppm_task_popup_container,#wppm_task_popup_background').hide();
66 - var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
67 - if(is_tinymce){
68 - tinymce.init({
69 - selector:'#wppm_reply_box',
70 - body_id: 'wppm_reply_box',
71 - menubar: false,
72 - statusbar: false,
73 - autoresize_min_height: 150,
74 - wp_autoresize_on: true,
75 - plugins: [
76 - 'wpautoresize lists link image directionality'
77 - ],
78 - toolbar: tinymce_toolbar.join() +' | wppm_templates',
79 - branding: false,
80 - autoresize_bottom_margin: 20,
81 - browser_spellcheck : true,
82 - relative_urls : false,
83 - remove_script_host : false,
84 - convert_urls : true
85 - });
86 - }
87 - }
1 + jQuery(document).ready(function(){
2 + jQuery('#wppm_popup_background,.wppm_popup_close').click(function(){
3 + wppm_modal_close();
4 + });
5 + jQuery('#wppm_task_popup_background,.wppm_task_popup_close').click(function(){
6 + wppm_modal_close();
7 + });
8 + jQuery(document).keyup(function(e){
9 + if (e.keyCode == 27) {
10 + wppm_modal_close();
11 + }
12 + });
13 + });
14 +
15 + function wppm_modal_open(title){
16 + jQuery('#wppm_popup_title h3').text(title);
17 + jQuery('#wppm_popup_body').html(wppm_admin.loading_html);
18 + jQuery('.wppm_popup_action').hide();
19 + jQuery('#wppm_popup_container,#wppm_popup_background').show();
20 + }
21 +
22 + function wppm_modal_close(){
23 + jQuery('#wppm_popup_container,#wppm_popup_background').hide();
24 + }
25 +
26 + function wppm_modal_close_thread(tinymce_toolbar){
27 +
28 + jQuery('#wppm_popup_container,#wppm_popup_background').hide();
29 + var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
30 + if(is_tinymce){
31 + tinymce.init({
32 + selector:'#wppm_reply_box',
33 + body_id: 'wppm_reply_box',
34 + menubar: false,
35 + statusbar: false,
36 + autoresize_min_height: 150,
37 + wp_autoresize_on: true,
38 + plugins: [
39 + 'wpautoresize lists link image directionality'
40 + ],
41 + toolbar: tinymce_toolbar.join() +' | wppm_templates',
42 + branding: false,
43 + autoresize_bottom_margin: 20,
44 + browser_spellcheck : true,
45 + relative_urls : false,
46 + remove_script_host : false,
47 + convert_urls : true
48 + });
49 + }
50 + }
51 +
52 + function wppm_task_modal_open(title){
53 + jQuery('#wppm_task_popup_title h3').text(title);
54 + jQuery('#wppm_task_popup_body').html(wppm_admin.loading_html);
55 + jQuery('.wppm_task_popup_action').hide();
56 + jQuery('#wppm_task_popup_container,#wppm_task_popup_background').show();
57 + }
58 +
59 + function wppm_task_modal_close(){
60 + jQuery('#wppm_task_popup_container,#wppm_task_popup_background').hide();
61 + }
62 +
63 + function wppm_task_modal_close_thread(tinymce_toolbar){
64 +
65 + jQuery('#wppm_task_popup_container,#wppm_task_popup_background').hide();
66 + var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
67 + if(is_tinymce){
68 + tinymce.init({
69 + selector:'#wppm_reply_box',
70 + body_id: 'wppm_reply_box',
71 + menubar: false,
72 + statusbar: false,
73 + autoresize_min_height: 150,
74 + wp_autoresize_on: true,
75 + plugins: [
76 + 'wpautoresize lists link image directionality'
77 + ],
78 + toolbar: tinymce_toolbar.join() +' | wppm_templates',
79 + branding: false,
80 + autoresize_bottom_margin: 20,
81 + browser_spellcheck : true,
82 + relative_urls : false,
83 + remove_script_host : false,
84 + convert_urls : true
85 + });
86 + }
87 + }
88 88