Skip to content
Browse files

new dist

  • Loading branch information...
1 parent 86e4888 commit c8cdbbb21c19411b2a3568f16e5da1330ee6b318 @shajith shajith committed Sep 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 dist/ember-resource.js
View
3 dist/ember-resource.js
@@ -1334,7 +1334,7 @@ if (typeof this === 'object') this.LRUCache = LRUCache;
data = data || {};
options = options || {};
- var klass = this.subclassFor(options, data);
+ var klass = this.subclassFor(options, data), idToRestore = options.id;
if (klass === this) {
var instance;
@@ -1378,6 +1378,7 @@ if (typeof this === 'object') this.LRUCache = LRUCache;
}
Ember.endPropertyChanges(instance);
+ options.id = idToRestore;
return instance;
} else {
return klass.create(options, data);

0 comments on commit c8cdbbb

Please sign in to comment.
Something went wrong with that request. Please try again.