Closed time-wcrp closed 8 years ago
1 590520 warn Duplicate id! Old RelationalModel=%o, new RelationalModel=%o, [object Object], [object Object]
2 590630 error Error: Cannot instantiate more than one Backbone.RelationalModel with the same id per type!
at _.extend.checkId (http://192.168.10.240:8100/lib/backbone-relational/backbone-relational.js:477:11)
at Backbone.RelationalModel.Backbone.Model.extend.set (http://192.168.10.240:8100/lib/backbone-relational/backbone-relational.js:1525:31)
at NgBackboneModel.NgBackbone.RelationalModel.extend.set (http://192.168.10.240:8100/js/app.js:823:71)
at Object.options.success (http://192.168.10.240:8100/lib/backbone/backbone.js:593:20)
at http://192.168.10.240:8100/js/app.js:486:33
at processQueue (http://192.168.10.240:8100/lib/ionic/js/ionic.bundle.js:23394:28)
at http://192.168.10.240:8100/lib/ionic/js/ionic.bundle.js:23410:27
at Scope.$eval (http://192.168.10.240:8100/lib/ionic/js/ionic.bundle.js:24673:28)
at Scope.$digest (http://192.168.10.240:8100/lib/ionic/js/ionic.bundle.js:24484:31)
at Scope.$apply (http://192.168.10.240:8100/lib/ionic/js/ionic.bundle.js:24778:24)
@Inwdragon bug backbone ครับ
# Inject "$ionicPlatform" to "Controller" via constructor
$ionicPlatform.registerBackButtonAction (() ->
console.log 'Your Touch'
return
), 100
กรณีโหลดแล้ว error แล้วกด back ได้