@@ -95,7 +95,7 @@ SDL.InfoNonMedia = Em.ContainerView.create(
9595 ] ,
9696
9797 template : Ember . Handlebars . compile (
98- '<img width="150px" {{bindAttr src="SDL.SDLController.model.appInfo.mainImage"}}>'
98+ '<img width="150px" onerror="this.style.display=\'none\'" {{bindAttr src="SDL.SDLController.model.appInfo.mainImage"}}>'
9999 )
100100 }
101101 ) ,
@@ -113,7 +113,7 @@ SDL.InfoNonMedia = Em.ContainerView.create(
113113
114114 field1 : SDL . Label . extend (
115115 {
116- contentBinding : 'controller .model.appInfo.field1' ,
116+ contentBinding : 'SDL.SDLController .model.appInfo.field1' ,
117117 attributeBindings : [ 'style' ] ,
118118 style : function ( ) {
119119 if ( SDL . SDLController . model ) {
@@ -127,7 +127,7 @@ SDL.InfoNonMedia = Em.ContainerView.create(
127127
128128 field2 : SDL . Label . extend (
129129 {
130- contentBinding : 'controller .model.appInfo.field2' ,
130+ contentBinding : 'SDL.SDLController .model.appInfo.field2' ,
131131 attributeBindings : [ 'style' ] ,
132132 style : function ( ) {
133133 if ( SDL . SDLController . model ) {
@@ -141,13 +141,13 @@ SDL.InfoNonMedia = Em.ContainerView.create(
141141
142142 field3 : SDL . Label . extend (
143143 {
144- contentBinding : 'controller .model.appInfo.field3'
144+ contentBinding : 'SDL.SDLController .model.appInfo.field3'
145145 }
146146 ) ,
147147
148148 field4 : SDL . Label . extend (
149149 {
150- contentBinding : 'controller .model.appInfo.field4'
150+ contentBinding : 'SDL.SDLController .model.appInfo.field4'
151151 }
152152 )
153153
0 commit comments