Skip to content
Snippets Groups Projects
Commit 788cff20 authored by juanf's avatar juanf
Browse files

SSDM-616: Add ability to create Projects in the ELN (Basic Create functionality)

SVN: 32110
parent 1fc44f38
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ function ProjectFormView(projectFormController, projectFormModel) {
var $textField = FormUtil._getInputField('text', null, "Project Code", null, true);
$textField.keyup(function(event){
_this._projectFormModel.project.code = $(this).val();
_this._projectFormModel.project.isFormDirty = true;
_this._projectFormModel.isFormDirty = true;
});
$formColumn.append(FormUtil.getFieldForComponentWithLabel($textField, "Code"));
} else {
......@@ -90,7 +90,7 @@ function ProjectFormView(projectFormController, projectFormModel) {
var $textBox = FormUtil._getTextBox(null, "Description", false);
$textBox.keyup(function(event){
_this._projectFormModel.project.description = $(this).val();
_this._projectFormModel.project.isFormDirty = true;
_this._projectFormModel.isFormDirty = true;
});
$textBox.val(this._projectFormModel.project.description);
$formColumn.append(FormUtil.getFieldForComponentWithLabel($textBox, "Description"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment