Permalink
Browse files

remove dead isEditable check in SC.ObjectController

  • Loading branch information...
erichocean committed May 18, 2012
1 parent 58579bc commit f3ec36b4ed6baa6a0dc368703cf81ce7529a2d3b
Showing with 3 additions and 3 deletions.
  1. +3 −3 application/controllers/object.js
@@ -228,9 +228,9 @@ SC.ObjectController = SC.Controller.extend(
// setter
} else {
- if (!this.get('isEditable')) {
- throw "%@.%@ is not editable".fmt(this,key);
- }
+ // if (!this.get('isEditable')) {
+ // throw "%@.%@ is not editable".fmt(this,key);
+ // }
if (content.isEnumerable) content.setEach(key, value);
else if (content.isObservable) content.set(key, value);

0 comments on commit f3ec36b

Please sign in to comment.