Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 3863 Rev 3866
Línea 191... Línea 191...
191
                $('#form-add #email').val('');
191
                $('#form-add #email').val('');
192
                $('#form-add #file').fileinput('reset');
192
                $('#form-add #file').fileinput('reset');
193
                $('#form-add #file').val('');
193
                $('#form-add #file').val('');
194
                $('#form-add #status').val('$status_active');
194
                $('#form-add #status').val('$status_active');
195
                $('#form-add #evaluation').val('$evaluation_0');
195
                $('#form-add #evaluation').val('$evaluation_0');
-
 
196
                $('#first-step').show();
-
 
197
                $('#secon-step').hide();
196
                CKEDITOR.instances.coment.setData('');
198
                CKEDITOR.instances.coment.setData('');
197
                validatorAdd.resetForm();
199
                validatorAdd.resetForm();
Línea 198... Línea 200...
198
 
200
 
199
                $('#add-candidate-box').modal('show');
201
                $('#add-candidate-box').modal('show');
Línea 202... Línea 204...
202
 
204
 
203
            $(".close-box, .btn-add-cancel").on("click", function (e) {
205
            $(".close-box, .btn-add-cancel").on("click", function (e) {
204
                e.preventDefault();
206
                e.preventDefault();
205
                $('#form-add #first_name').prop("disabled", false);
207
                $('#form-add #first_name').prop("disabled", false);
206
                $('#form-add #last_name').prop('disabled', false);
208
                $('#form-add #last_name').prop('disabled', false);
207
                $('#step').hide();
209
                $('#secon-step').hide();
208
                $('#add-candidate-box').modal('hide');
210
                $('#add-candidate-box').modal('hide');
209
                $('#edit-candidate-box').modal('hide');
211
                $('#edit-candidate-box').modal('hide');
210
                return false;
212
                return false;