From 0a67c8c272390b097518fa398c80a4d46181d4dd Mon Sep 17 00:00:00 2001 From: Gunther Brunner Date: Wed, 1 Oct 2014 17:56:25 +0900 Subject: [PATCH] Save Screenshot feature now done on server side since the client-side way doesn't work in all browsers. --- .../stf/device-context-menu/device-context-menu-directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/app/components/stf/device-context-menu/device-context-menu-directive.js b/res/app/components/stf/device-context-menu/device-context-menu-directive.js index d7b8efcf..6ff9b8e3 100644 --- a/res/app/components/stf/device-context-menu/device-context-menu-directive.js +++ b/res/app/components/stf/device-context-menu/device-context-menu-directive.js @@ -44,7 +44,7 @@ module.exports = function deviceContextMenuDirective($window) { scope.saveScreenShot = function () { scope.control.screenshot().then(function (result) { - saveToDisk(result.body.href, result.body.date + '.jpg') + location.href = result.body.href + '?download' }) }