organizacion librerias

This commit is contained in:
humano 2018-06-20 07:52:29 -05:00
parent 75ce4e2163
commit 9168fbe54d

View File

@ -631,6 +631,30 @@ if('serviceWorker' in navigator) {
$id_empresa = $empresa[0];
$embebido = "1";
$onload = formulario_embebido($form,$opciones);
$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>
";
}
elseif($v[0] =='h') {
/// h=ADDON