Skip to content

Commit

Permalink
add ignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtiaowang committed Oct 16, 2018
1 parent 023240b commit c0f274c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions modules/document_repository/js/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
columnFormatter.js
docIndex.js
editFormIndex.js

5 changes: 2 additions & 3 deletions modules/document_repository/jsx/categoryForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DocCategoryForm extends React.Component {
super(props);

this.state = {
Data: {},
data: {},
formData: {},
uploadResult: null,
errorMessage: null,
Expand All @@ -35,7 +35,7 @@ class DocCategoryForm extends React.Component {
dataType: 'json',
success: function(data) {
self.setState({
Data: data,
data: data,
isLoaded: true,
});
},
Expand Down Expand Up @@ -127,7 +127,6 @@ class DocCategoryForm extends React.Component {

let formData = this.state.formData;
let formRefs = this.refs;
// let docFiles = this.state.Data.docFiles ? this.state.Data.docFiles : [];

// Validate the form
if (!this.isValidForm(formRefs, formData)) {
Expand Down

0 comments on commit c0f274c

Please sign in to comment.