Fix bug on multiblog installations.

La barre de délection du blog courant était impactée par le js du plugin. Ça empéchait l'ouverture de ce dernier.
C'est corrigé.
master
Gnieark 7 years ago
parent c926796c44
commit 2d6e3999eb

@ -29,7 +29,7 @@ $this->registerModule(
/* Name */ "YASH Fork",
/* Description*/ "Fork from Yet Another Syntax Highlighter. Modification: Juste one javascript called on public pages for yash3",
/* Author */ "Forked and modified by Gnieark, origin: Pep and contributors",
/* Version */ '0.9',
/* Version */ '0.9.1',
array(
/* Dependencies */ 'requires' => array(array('core','2.9')),
/* Permissions */ 'permissions' => 'usage,contentadmin',

@ -204,7 +204,7 @@ if (!empty($_POST['saveconfig'])) {
<script type="text/javascript">
//I hate jquery
$(document).ready(function(){
$("select").change(function(){;
$("#theme").change(function(){;
$(this).find("option:selected").each(function(){
if($(this).attr("value")=="Custom"){
$("#pcustomcss").show();
@ -261,7 +261,7 @@ $combo_theme = array(
<?php echo form::textarea('customCss',80,20, $customCss); ?>
</p>
<p class="info">
<?php echo __('You can use a custom CSS. Paste it on the textarea'); ?>
<?php echo __('You can use a custom CSS. Select custom CSS and paste it on the textarea'); ?>
</p>
<p><input type="hidden" name="p" value="yash3" />

Loading…
Cancel
Save