Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jianliao/The-M-Project
...
head fork: jianliao/The-M-Project
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Feb 07, 2012
@dominiklaubach dominiklaubach Merge pull request #33 from jianliao/master
removeContentRows method of TableView would not work due to the hard code id
74f760f
Commits on Feb 09, 2012
@jianliao Clear the validation status before validate it again.
Current behavior is that if the view is in validation error state, even
the user input is valid, the UI will still show it as invalid.
48cb76d
Showing with 4 additions and 0 deletions.
  1. +4 −0 modules/ui/form.js
View
4 modules/ui/form.js
@@ -67,6 +67,10 @@ M.FormView = M.View.extend(
for(var name in ids) {
var view = M.ViewManager.getViewById(ids[name]);
if(view && view.validators) {
+ if(view.cssClassOnError) {
+ view.removeCssClass(view.cssClassOnError);
+ }
+
_.each(view.validators, function(validator) {
if(!validator.validate(view, name)) {
isValid = NO;

No commit comments for this range

Something went wrong with that request. Please try again.