mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Add allow option to iframe widget
This commit is contained in:
parent
0488da6722
commit
e9510598d7
@ -58,6 +58,12 @@ class et2_iframe extends et2_valueWidget
|
||||
"default": "",
|
||||
description: "Specifies URL for the iframe",
|
||||
type: "string"
|
||||
},
|
||||
allow: {
|
||||
name: "Allow",
|
||||
"default": "",
|
||||
description: "Specifies list of allow features, e.g. camera",
|
||||
type: "string"
|
||||
}
|
||||
};
|
||||
|
||||
@ -99,6 +105,11 @@ class et2_iframe extends et2_valueWidget
|
||||
this.htmlNode.attr('name', _name);
|
||||
}
|
||||
|
||||
set_allow (_allow)
|
||||
{
|
||||
this.options.allow = _allow;
|
||||
this.htmlNode.attr('allow', _allow);
|
||||
}
|
||||
/**
|
||||
* Make it look like part of the containing document
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user