Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1051 Rev 1053
Línea 55... Línea 55...
55
 
55
 
56
// JsRender //
56
// JsRender //
Línea 57... Línea 57...
57
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
57
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
58
 
58
 
Línea 59... Línea 59...
59
 
59
 
60
$status_active = \LeadersLinked\Model\CompanySelfEvaluationForm::STATUS_ACTIVE;
60
$status_active = \LeadersLinked\Model\CompanyPerformanceEvaluationForm::STATUS_ACTIVE;
Línea 61... Línea 61...
61
$status_inactive = \LeadersLinked\Model\CompanySelfEvaluationForm::STATUS_INACTIVE;
61
$status_inactive = \LeadersLinked\Model\CompanyPerformanceEvaluationForm::STATUS_INACTIVE;
Línea 402... Línea 402...
402
     * Clicked new Form
402
     * Clicked new Form
403
     */
403
     */
404
    $('button.btn-add-form').click(function(e) {
404
    $('button.btn-add-form').click(function(e) {
405
        $('#form-main').attr('action', '$routeAdd');
405
        $('#form-main').attr('action', '$routeAdd');
406
        $('#form-main #form-id').val('0');
406
        $('#form-main #form-id').val('0');
407
        $('#form-main #form-continue').val('0');
-
 
408
        $('#form-main #form-name').val('');
407
        $('#form-main #form-name').val('');
-
 
408
        $('#form-main #job_description_id').val('');
-
 
409
        $('#form-main #form-status').val('$status_active');
409
        $("#rows").html('');
410
        $("#rows").html('');
410
        sections = [];
411
        sections = [];
411
        $('#row-lists').hide();
412
        $('#row-lists').hide();
412
        $('#row-form').show();
413
        $('#row-form').show();
413
        $('#form-main #form-name').focus();
414
        $('#form-main #form-name').focus();