Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -wur a/Theme Files/magzimize/functions/admin/admin-style.css magzimize/functions/admin/admin-style.css
- --- a/Theme Files/magzimize/functions/admin/admin-style.css 2014-05-07 15:56:08.000000000 +0100
- +++ magzimize/functions/admin/admin-style.css 2013-03-06 18:39:06.000000000 +0000
- @@ -215,7 +215,7 @@
- border-radius: 3px;
- }
- .single-collective{
- - width: 264px;
- + width: 274px;
- float: left;
- list-style: none;
- background: #FFFFFF;
- diff -wur a/Theme Files/magzimize/functions/js/jquery.custom.admin.js magzimize/functions/js/jquery.custom.admin.js
- --- a/Theme Files/magzimize/functions/js/jquery.custom.admin.js 2014-05-07 15:11:38.000000000 +0100
- +++ magzimize/functions/js/jquery.custom.admin.js 2013-08-21 09:50:22.000000000 +0100
- @@ -118,7 +118,7 @@
- revert: true
- });
- - jQuery( ".collective-canvas > .single-collective:not(.single-master)" ).draggable({
- + jQuery( ".collective-canvas > single-collective:not(.single-master)" ).draggable({
- connectToSortable: ".collective-canvas",
- revert: "invalid",
- handle: "div.sc_panel"
- diff -wur a/Theme Files/magzimize/functions/shortcodes/qa/mce_plugin.js magzimize/functions/shortcodes/qa/mce_plugin.js
- --- a/Theme Files/magzimize/functions/shortcodes/qa/mce_plugin.js 2014-05-07 14:59:06.000000000 +0100
- +++ magzimize/functions/shortcodes/qa/mce_plugin.js 2013-03-06 18:39:06.000000000 +0000
- @@ -12,7 +12,7 @@
- // Register example button
- ed.addButton('qa_button_shortcodes', {
- title : 'Insert Question and Answer',
- - //cmd : 'qa_button_shortcodes',
- + cmd : 'qa_button_shortcodes',
- image : url + '/icon.png',
- onclick : function() {
- ed.selection.setContent('[chat question="Your question here?"]</br>Your answer here </br>[/chat]');
- diff -wur a/Theme Files/magzimize/functions/shortcodes/quote/mce_plugin.js magzimize/functions/shortcodes/quote/mce_plugin.js
- --- a/Theme Files/magzimize/functions/shortcodes/quote/mce_plugin.js 2014-05-07 14:59:18.000000000 +0100
- +++ magzimize/functions/shortcodes/quote/mce_plugin.js 2013-03-06 18:39:06.000000000 +0000
- @@ -12,7 +12,7 @@
- // Register example button
- ed.addButton('quote_button_shortcodes', {
- title : 'Insert Quote',
- - // cmd : 'quote_button_shortcodes',
- + cmd : 'quote_button_shortcodes',
- image : url + '/icon.png',
- onclick : function() {
- ed.selection.setContent('[quote]Your Quote here[/quote]');
- diff -wur a/Theme Files/magzimize/functions/shortcodes/shortcodes_function.js magzimize/functions/shortcodes/shortcodes_function.js
- --- a/Theme Files/magzimize/functions/shortcodes/shortcodes_function.js 2014-05-07 12:31:40.000000000 +0100
- +++ magzimize/functions/shortcodes/shortcodes_function.js 2013-03-06 18:39:06.000000000 +0000
- @@ -47,8 +47,7 @@
- $('#insertCode').click(function (){
- if($selectedShortcode != 'none') {
- -// var inst = tinyMCE.getInstanceById('content');
- - var inst = tinyMCE.get('content');
- + var inst = tinyMCE.getInstanceById('content');
- var html = inst.selection.getContent();
- var shortcodeData = '';
- @@ -92,8 +91,7 @@
- break;
- }
- -// window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, shortcodeData);
- - window.tinyMCE.execCommand('mceInsertContent', false, shortcodeData);
- + window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, shortcodeData);
- tinyMCEPopup.editor.execCommand('mceRepaint');
- tinyMCEPopup.close();
- diff -wur a/Theme Files/magzimize/functions.php magzimize/functions.php
- --- a/Theme Files/magzimize/functions.php 2014-05-07 15:55:54.000000000 +0100
- +++ magzimize/functions.php 2013-08-15 16:23:00.000000000 +0100
- @@ -163,7 +163,7 @@
- function vpt_admin_js($hook) {
- if ($hook == 'post.php' || $hook == 'post-new.php') {
- - wp_register_script('vpt-admin', get_template_directory_uri() . '/functions/js/jquery.custom.admin.js', array('jquery','jquery-ui-draggable'));
- + wp_register_script('vpt-admin', get_template_directory_uri() . '/functions/js/jquery.custom.admin.js', 'jquery');
- wp_enqueue_script('vpt-admin');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement