Screen error message improved.

This commit is contained in:
Gunther Brunner
2014-05-20 19:17:28 +09:00
parent e405ca1577
commit 282ceab17a
3 changed files with 32 additions and 6 deletions

View File

@@ -115,6 +115,10 @@ module.exports = function DeviceScreenDirective($document, ScalingService, Vendo
scope.control.paste(e.clipboardData.getData('text/plain'))
}
scope.retryLoadingScreen = function () {
maybeLoadScreen()
}
function maybeLoadScreen() {
if (!loading && scope.$parent.showScreen && scope.device) {
loading = true