Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1565 Rev 1566
Línea 358... Línea 358...
358
        $('#row-form').hide();
358
        $('#row-form').hide();
359
        $('#row-lists').show();
359
        $('#row-lists').show();
360
        return;
360
        return;
361
    });
361
    });
362
    /**
362
    /**
363
     * Clicked save and continue new Form
-
 
364
     */
-
 
365
    $('button.btn-form-save-continue').click(function(e) {
-
 
366
        for (var instanceName in CKEDITOR.instances) {
-
 
367
            CKEDITOR.instances[instanceName].updateElement();
-
 
368
        }
-
 
369
        saveData(1);
-
 
370
    });
-
 
371
    /**
-
 
372
     * Clicked save and close new/edit Form
363
     * Clicked save and close new/edit Form
373
     */
364
     */
374
    $('button.btn-form-save-close').click(function(e) {
365
    $('button.btn-form-save-close').click(function(e) {
375
        for (var instanceName in CKEDITOR.instances) {
366
        for (var instanceName in CKEDITOR.instances) {
376
            CKEDITOR.instances[instanceName].updateElement();
367
            CKEDITOR.instances[instanceName].updateElement();
Línea 486... Línea 477...
486
     */
477
     */
487
    $('#industry_id').select2({
478
    $('#industry_id').select2({
488
        theme: 'bootstrap4',
479
        theme: 'bootstrap4',
489
        width: '100%',
480
        width: '100%',
490
    });
481
    });
-
 
482
 
-
 
483
    /**
-
 
484
     * Initialize status toogle
-
 
485
     */
-
 
486
    $('#status').bootstrapToggle({
-
 
487
        'on': 'LABEL_ACTIVE',
-
 
488
        'off': 'LABEL_INACTIVE',
-
 
489
        'width': '160px',
-
 
490
        'height': '40px'
-
 
491
    });
Línea 491... Línea 492...
491
   
492
   
492
     /**
493
     /**
493
     * Initialize select Location
494
     * Initialize select Location
Línea 661... Línea 662...
661
             $element->setAttributes(['class' => 'form-control']);    
662
             $element->setAttributes(['class' => 'form-control']);    
662
             $element->setOptions(['label' => 'LABEL_POSITION_EVALUATED']);
663
             $element->setOptions(['label' => 'LABEL_POSITION_EVALUATED']);
Línea 663... Línea 664...
663
                                                            
664
                                                            
664
             echo $this->formLabel($element);
665
             echo $this->formLabel($element);
-
 
666
             echo $this->formSelect($element);
-
 
667
            ?>
-
 
668
      	  </div>
-
 
669
            <div class="form-group">
-
 
670
        	 <?php 
-
 
671
             $element = $form->get('job_category_id');
-
 
672
             $element->setAttributes(['class' => 'form-control']);    
-
 
673
             $element->setOptions(['label' => 'LABEL_POSITION_EVALUATED']);
-
 
674
                                                            
-
 
675
             echo $this->formLabel($element);
665
             echo $this->formSelect($element);
676
             echo $this->formSelect($element);
666
            ?>
677
            ?>
667
      	  </div>
678
      	  </div>
668
		 <div class="form-group">
679
		 <div class="form-group">
669
        	 <?php 
680
        	 <?php