edicion campo html en modal

This commit is contained in:
humano 2018-06-23 08:03:44 -05:00
parent 8f5758d221
commit c8652ab133
2 changed files with 10 additions and 1 deletions

View File

@ -1148,6 +1148,9 @@ $uri = $_SERVER['REQUEST_URI'];
<!-- <script src="./librerias/charts/Chart.bundle.js"></script>
<script src="./librerias/charts/utils.js"></script> -->
<script src="./librerias/lazy/jquery.lazy.min.js"></script>
<script src='./librerias/summernote/summernote.js'></script>
<link href='./librerias/summernote/summernote.css' rel='stylesheet'>
<script type='text/javascript'> var edit = function() { $('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:[ ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript', 'fontname']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph', 'style']], ['height', ['height']], ['insert', ['picture', 'link', 'video', 'table', 'hr']], ['misc', ['fullscreen', 'codeview', 'undo', 'redo']] ] }); }; var save = function() { var makrup = $('.wysiwyg').summernote('code'); $('.wysiwyg').summernote('destroy'); }; $(document).ready(function() { $('.wysiwyg_auto').summernote({dialogsInBody: true}); }); </script>
<script>
$(function() {
@ -1300,7 +1303,9 @@ document.oncopy = addLink;
}else{
echo " " ;
}
if(isset($_SESSION['id'])) {$id_empresa_portada='1'; echo "<span style=' $no_mostrar '>".panel_aplicaciones('1',"$_SESSION[id_empresa]","")."</span>"; }
if(isset($_SESSION['id'])) {$id_empresa_portada='1'; echo "
<span style=' $no_mostrar '>".panel_aplicaciones('1',"$_SESSION[id_empresa]","")."</span>"; }
if(isset($_REQUEST['eventos'])) {
//$embebido='1';
$librerias_pie="

View File

@ -3930,6 +3930,7 @@ while( $row = mysqli_fetch_array( $sql ) ) {
}
$resultado= "
<div class='btn btn-default btn-xs pull-right' onclick=\"xajax_limpia_div('div_panel_aplicaciones'); \" >Cerrar (X)</div>
<h2>Aplicaciones disponibles</h2>
<div class='panel-group' id='listado_aplicaciones_disponibles' tole='tablist' aria-multiselectable='true'>
@ -10681,6 +10682,7 @@ function formulario_embebido($id,$opciones){
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
//$visitas= contar_visitas($id,'formulario') ;
$muestra_form = "
<style>
fieldset.fieldset-borde {
@ -10885,7 +10887,9 @@ $('.first').click(function(){
");
$respuesta->addscript("$('#muestraInfo').modal('toggle')");
///if($tipo =="edit") {return $muestra_form;}
return $respuesta;