Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 882 | Rev 884 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 882 Rev 883
Línea 48... Línea 48...
48
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.css'));
48
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.css'));
Línea 49... Línea 49...
49
 
49
 
50
// JsRender //
50
// JsRender //
Línea -... Línea 51...
-
 
51
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
-
 
52
 
-
 
53
// bootbox Alert //
Línea 51... Línea 54...
51
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
54
$this->inlineScript()->appendFile($this->basePath('plugins/bootbox/bootbox.min.js'));
Línea 52... Línea 55...
52
 
55
 
53
 
56
 
Línea 430... Línea 433...
430
     */
433
     */
431
    $('button.btn-conduct-submit').click(function(e) {
434
    $('button.btn-conduct-submit').click(function(e) {
Línea 432... Línea 435...
432
        
435
        
433
        if($("#conduct-description").val()==""){
436
        if($("#conduct-description").val()==""){
434
            $.fn.showError('Ingrese una descripción');
437
            $.fn.showError('Ingrese una descripción');
Línea 435... Línea 438...
435
            return false;
438
            return;
Línea 436... Línea 439...
436
 
439
 
Línea 437... Línea 440...
437
        }else{
440
        }else{
438
 
441
 
Línea -... Línea 442...
-
 
442
          $("#conduct-id").val()=="" ?
-
 
443
 
439
          $("#conduct-id").val()=="" ?
444
                addBehavior($("#conduct-description").val(), $("#conduct-level").val()) :
440
 
445
                addBehavior($("#conduct-id").val(),$("#conduct-description").val(), $("#conduct-level").val())
441
                addBehavior($("#conduct-description").val(), $("#conduct-level").val()) :
446
        
442
                addBehavior($("#conduct-id").val(),$("#conduct-description").val(), $("#conduct-level").val())
447
                $('#modal-conduct').modal('hide');
443
        
448
                return;