Save Screenshot feature now done on server side since the client-side way doesn't work in all browsers.

This commit is contained in:
Gunther Brunner
2014-10-01 17:56:25 +09:00
parent cd92078043
commit 0a67c8c272

View File

@@ -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'
})
}