[Persistence] Show persistence failure dialog

WTD-1033.
This commit is contained in:
Victor Woeltjen 2015-03-20 14:23:51 -07:00
parent acf058849f
commit 513c06a81b
4 changed files with 10 additions and 3 deletions

View File

@ -12,7 +12,7 @@
</div> </div>
</div> </div>
<div class="abs bottom-bar"> <div class="abs bottom-bar">
<a ng-repeat="options in ngModel.dialog.options" <a ng-repeat="option in ngModel.dialog.options"
href='' href=''
class="btn lg" class="btn lg"
title="{{option.description}}" title="{{option.description}}"

View File

@ -126,8 +126,8 @@ define(
// Add the overlay using the OverlayService, which // Add the overlay using the OverlayService, which
// will handle actual insertion into the DOM // will handle actual insertion into the DOM
overlay = overlayService.createOverlay( overlay = overlayService.createOverlay(
"overlay-dialog", "overlay-options",
{ dialog: dialogModel, click: confirm } { dialog: dialogModel, click: confirm, cancel: cancel }
); );
// Track that a dialog is already visible, to // Track that a dialog is already visible, to

View File

@ -26,6 +26,12 @@
"key": "PERSISTENCE_QUEUE_DELAY", "key": "PERSISTENCE_QUEUE_DELAY",
"value": 5 "value": 5
} }
],
"templates": [
{
"key": "persistence-failure-dialog",
"templateUrl": "templates/persistence-failure-dialog.html"
}
] ]
} }
} }

View File

@ -0,0 +1 @@
Hello persistence failure!