Fix URL for expose media in description widget

This commit is contained in:
Hadi Nategh 2015-03-26 08:48:23 +00:00
parent 9c28235334
commit 59a47e405a

View File

@ -208,7 +208,7 @@ var et2_description = expose(et2_baseWidget.extend([et2_IDetachedDOM],
*/
getMedia: function (_value)
{
var base_url = egw.webserverUrl.match(/^\//,'ig')?egw(window).window.location.origin :egw.webserverUrl + '/';
var base_url = egw.webserverUrl.match(/^\//,'ig')?egw(window).window.location.origin :'';
var mediaContent = [];
if (_value)
{