Lines Matching defs:btn
38 var actionFunc, $btn;
41 $btn = jQuery(createToolButton(val.icon, val.title, val.key, val.id,
47 $btn.on('click', bind(window[actionFunc],$btn,val,edid) );
48 $toolbar.append($btn);
55 var pickerid = window[actionFunc]($btn, val, edid);
57 $toolbar.append($btn);
58 $btn.attr('aria-controls', pickerid);
60 $btn.attr('aria-haspopup', 'true');
73 * @param DOMElement btn Button element to add the action to
79 function tb_format(btn, props, edid) {
95 * @param DOMElement btn Button element to add the action to
101 function tb_formatln(btn, props, edid) {
133 * @param DOMElement btn Button element to add the action to
139 function tb_insert(btn, props, edid) {
148 * @param DOMElement btn Button element to add the action to
153 function tb_mediapopup(btn, props, edid) {
166 * @param DOMElement btn Button element to add the action to
171 function tb_autohead(btn, props, edid){
190 * @param jQuery btn Button element to add the action to
196 function addBtnActionPicker($btn, props, edid) {
201 $btn.click(
203 pickerToggle(pickerid,$btn);
215 * @param DOMElement btn Button element to add the action to
221 function addBtnActionLinkwiz($btn, props, edid) {
223 jQuery($btn).click(function(e){
238 function pickerToggle(pickerid,$btn){
240 pos = $btn.offset();
259 $picker.offset({left: picker_left, top: pos.top+$btn[0].offsetHeight+3});