This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit 78d2cefef399ff5e4ab2a6bb77b00a9838015ef4 Author: Yannick Martel <martel@©odelutin.com> Date: Thu Feb 19 17:35:42 2015 +0100 fix upload.file verification on document creation form --- coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html | 2 +- coselmar-ui/src/main/webapp/views/documents/newdocument.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html b/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html index 409ccd8..3099f41 100644 --- a/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html +++ b/coselmar-ui/src/main/webapp/views/documents/modalDocumentEdit.html @@ -285,7 +285,7 @@ <div class="modal-footer"> <button class="btn btn-action btn-disable" ng-click="cancel()">{{ 'common.button.cancel' | translate }}</button> <input type="submit" value="Submit" class="btn btn-action btn-success float-right" - ng-disabled="documentForm.$invalid || keywordsError || (!document.externalUrl && !file.upload)" /> + ng-disabled="documentForm.$invalid || keywordsError || (!document.externalUrl && !upload.file)" /> </div> </form> diff --git a/coselmar-ui/src/main/webapp/views/documents/newdocument.html b/coselmar-ui/src/main/webapp/views/documents/newdocument.html index 89b2a81..f4e1048 100644 --- a/coselmar-ui/src/main/webapp/views/documents/newdocument.html +++ b/coselmar-ui/src/main/webapp/views/documents/newdocument.html @@ -288,7 +288,7 @@ <div class="form-group actions" ng-if="privacy != 'RESTRICTED'"> <input type="submit" value="Submit" class="btn btn-action" - ng-disabled="documentForm.$invalid || keywordsError || (!document.externalUrl && !file.upload)"/> + ng-disabled="documentForm.$invalid || keywordsError || (!document.externalUrl && !upload.file)"/> </div> </form> </div> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.