Skip to content
Permalink
Browse files

CSS fix for non-disly of text in edit buttons in bootstrap3 template

  • Loading branch information...
turnermm committed Jul 26, 2018
1 parent 7c85d03 commit 35d4f312a64ba143a3442f867ab41d4a7d50ed63
Showing with 17 additions and 2 deletions.
  1. +1 −0 action/meta.php
  2. +1 −1 plugin.info.txt
  3. +14 −0 script.js
  4. +1 −1 version
@@ -765,6 +765,7 @@ function file_type(Doku_Event $event, $param) {
$JSINFO['wrapDiv'] = $syntaxDiv;
}
else $JSINFO['wrapDiv'] = "";
$JSINFO['template'] = $conf['template'];
$syntaxSpan = $wrap_helper->getConf('syntaxSpan');
if(!empty($syntaxSpan)) {
$JSINFO['wrapSpan'] = $syntaxSpan;
@@ -1,7 +1,7 @@
base ckgdoku
author Myron Turner
email turnermm02@shaw.ca
date 2018-05-21
date 2018-07-26
name ckgdoku
desc WYSIWYG plugin for Dokuwiki
url https://www.dokuwiki.org/plugin:ckgdoku
@@ -383,6 +383,20 @@ jQuery(document).ready(function(){
f.submit();
})
}

if(JSINFO['template'].match(/bootstrap/) && jQuery('div.editButtons').length>0) {
//var n=jQuery('div.editButtons input').length;
jQuery( "div.editButtons input").each(function( index ) {
if(jQuery(this).hasClass('btn-success')) {
jQuery(this).removeClass('btn-success')
}
if(jQuery(this).hasClass('btn-danger')) {
jQuery(this).removeClass('btn-danger');
}

});

}

});

@@ -1 +1 @@
_ckgDoku-ckgedit_457-18-May_21-23_21
_ckgDoku-ckgedit_457-18-Jul_26-06_15

0 comments on commit 35d4f31

Please sign in to comment.
You can’t perform that action at this time.