forked from qwerty/tupali
organizacion librerias
This commit is contained in:
parent
c86715835e
commit
908b9fb4a1
20
index.php
20
index.php
@ -368,6 +368,26 @@ if ($variable !=''){
|
||||
$librerias_cabeza ="
|
||||
<script src='./librerias/summernote/summernote.js'></script>
|
||||
<link href='./librerias/summernote/summernote.css' rel='stylesheet'>
|
||||
";
|
||||
$librerias_pie ="
|
||||
|
||||
<script type='text/javascript'>
|
||||
//// wysiwyg
|
||||
var edit = function() {
|
||||
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true});
|
||||
};
|
||||
|
||||
var save = function() {
|
||||
var makrup = $('.wysiwyg').summernote('code');
|
||||
$('.wysiwyg').summernote('destroy');
|
||||
};
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.wysiwyg_auto').summernote({dialogsInBody: true});
|
||||
});
|
||||
|
||||
</script>
|
||||
";
|
||||
$onload =" <script type=\"text/javascript\">xajax_formulario_embebido_ajax('','$form','','nuevo')</script>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user