mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Allow full URLs as images, don't try to split off the app
This commit is contained in:
parent
04f4287091
commit
96bb751a26
@ -119,7 +119,7 @@ var et2_image = et2_baseWidget.extend(et2_IDetachedDOM, {
|
||||
var app = this.getTemplateApp();
|
||||
|
||||
// Handle app/image
|
||||
if(_value.indexOf("/") > 0) {
|
||||
if(_value.indexOf("/") > 0 && _value.indexOf("/") == _value.lastIndexOf("/")) {
|
||||
var split = et2_csvSplit(_value, 2,"/");
|
||||
var app = split[0];
|
||||
_value = split[1];
|
||||
|
Loading…
Reference in New Issue
Block a user