mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 23:09:13 +01:00
allow to set name attribute of iframe (to be used as target in links)
This commit is contained in:
parent
9afb974d44
commit
349da32512
@ -40,6 +40,12 @@ var et2_iframe = et2_valueWidget.extend(
|
|||||||
translate: false,
|
translate: false,
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
},
|
},
|
||||||
|
"name": {
|
||||||
|
name: "Name",
|
||||||
|
"default": "",
|
||||||
|
description: "Specifies name of frame, to be used as target for links",
|
||||||
|
type: "string"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -61,6 +67,15 @@ var et2_iframe = et2_valueWidget.extend(
|
|||||||
this.setDOMNode(this.htmlNode[0]);
|
this.setDOMNode(this.htmlNode[0]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set name of iframe (to be used as target for links)
|
||||||
|
*
|
||||||
|
* @param _name
|
||||||
|
*/
|
||||||
|
set_name: function(_name) {
|
||||||
|
this.htmlNode.attr('name', this.htmlNode.name = _name);
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make it look like part of the containing document
|
* Make it look like part of the containing document
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user