Skip to content
Snippets Groups Projects
Commit 7364a8fe authored by pkupczyk's avatar pkupczyk
Browse files

SP-224 / BIS-143: Expose session workspace to Custom Web UI:

- added browser support check

SVN: 26335
parent b0e3e550
No related branches found
No related tags found
No related merge requests found
...@@ -318,6 +318,13 @@ openbis.prototype.executeQuery = function(queryId, parameterBindings, action) { ...@@ -318,6 +318,13 @@ openbis.prototype.executeQuery = function(queryId, parameterBindings, action) {
} }
openbis.prototype.createSessionWorkspaceUploader = function(uploaderContainer){ openbis.prototype.createSessionWorkspaceUploader = function(uploaderContainer){
var uploaderSupported = window.File && window.FileReader && window.XMLHttpRequest;
if(!uploaderSupported){
alert("Uploader is not supported by your browser.");
return;
}
var $this = this; var $this = this;
$('head').append('<link rel="stylesheet" media="screen" type="text/css" href="../uploader/css/src/upload.css" />'); $('head').append('<link rel="stylesheet" media="screen" type="text/css" href="../uploader/css/src/upload.css" />');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment