PluginProbe
CSS & JavaScript Toolbox / 7.2
CSS & JavaScript Toolbox v7.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | views/tinymce/shortcodes/view.php +13 -3 6.07.2 View file →
@@ -25,8 +25,9 @@
25 25 // Add TinyMCE button for adding shortcode!
26 26 add_filter('mce_buttons', array($this, 'addButton'));
27 27 // Enqueue dependencies scripts.
28 28 self::enqueueScripts();
29 + self::enqueueStyles();
29 30 }
30 31
31 32 /**
32 33 * put your comment there...
@@ -44,10 +45,8 @@
44 45 *
45 46 * @param mixed $tpl
46 47 */
47 48 public function display($tpl = null) {
48 - // Push vars into view!
49 -
50 49 // Output view!
51 50 echo $this->getTemplate($tpl);
52 51 }
53 52
@@ -58,11 +57,22 @@
58 57 public function enqueueScripts() {
59 58 // Please thos scripts below should be already loaded
60 59 // by the metabox views If the tinymce is loaded inside the editbox
61 60 // IN OTHER CASES!!! what is the other cases! we load it!
62 - self::useScripts(__CLASS__, 'framework:js:ajax:{CJT-}cjt-server');
61 + self::useScripts(__CLASS__,
62 + 'thickbox',
63 + 'framework:js:ajax:{CJT-}cjt-server'
64 + );
63 65 }
64 66
67 + /**
68 + * put your comment there...
69 + *
70 + */
71 + public function enqueueStyles() {
72 + self::useStyles(__CLASS__, 'thickbox');
73 + }
74 +
65 75 /**
66 76 * put your comment there...
67 77 *
68 78 * @param mixed $plugins