Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1007 Rev 1008
Línea 252... Línea 252...
252
    /**
252
    /**
253
     * Clicked add new section
253
     * Clicked add new section
254
     */
254
     */
255
    $('#btn-add-section').click(function(e) {
255
    $('#btn-add-section').click(function(e) {
256
        $('#form-section #section-id').val('');
256
        $('#form-section #section-id').val('');
257
        CKEDITOR.instances['section-text'].setData('');
257
        CKEDITOR.instances['text'].setData('');
258
        $('#form-section #section-type').val($('#form-section #section-type option:first').val());
258
        $('#form-section #type').val($('#form-section #section-type option:first').val());
259
        $('#form-section #section-max-length').val('0');
-
 
260
        $('#form-section #section-max-length').parent().show();
-
 
261
        $('#modal-section h4[class="modal-title"]').html('LABEL_ADD LABEL_SECTION');
259
        $('#modal-section h4[class="modal-title"]').html('LABEL_ADD LABEL_SECTION');
262
        $('#modal-section').modal('show');
260
        $('#modal-section').modal('show');
263
    });
261
    });
264
    /**
262
    /**
265
     * Clicked edit section
263
     * Clicked edit section