|
@@ -53,6 +53,7 @@ App.SliderAppsMapper = App.Mapper.createWithMixins(App.RunPeriodically, {
|
|
sender: this,
|
|
sender: this,
|
|
success: 'parse'
|
|
success: 'parse'
|
|
}).fail(function(jqXHR, textStatus){
|
|
}).fail(function(jqXHR, textStatus){
|
|
|
|
+ App.__container__.lookup('controller:application').set('hasConfigErrors', true);
|
|
if (!self.get('isWarningPopupShown')) {
|
|
if (!self.get('isWarningPopupShown')) {
|
|
var message = textStatus === "timeout" ? "timeout" : jqXHR.responseText;
|
|
var message = textStatus === "timeout" ? "timeout" : jqXHR.responseText;
|
|
self.set('isWarningPopupShown', true);
|
|
self.set('isWarningPopupShown', true);
|
|
@@ -231,6 +232,8 @@ App.SliderAppsMapper = App.Mapper.createWithMixins(App.RunPeriodically, {
|
|
self = this,
|
|
self = this,
|
|
appsToDelete = App.SliderApp.store.all('sliderApp').get('content').mapProperty('id');
|
|
appsToDelete = App.SliderApp.store.all('sliderApp').get('content').mapProperty('id');
|
|
|
|
|
|
|
|
+ App.__container__.lookup('controller:application').set('hasConfigErrors', false);
|
|
|
|
+
|
|
if (this.get('isWarningPopupShown')) {
|
|
if (this.get('isWarningPopupShown')) {
|
|
this.closeWarningPopup();
|
|
this.closeWarningPopup();
|
|
this.set('isWarningPopupShown', false);
|
|
this.set('isWarningPopupShown', false);
|