Lines Matching refs:doku_linkwiz

117         doku_linkwiz.init(jQuery('#dw__editform'), editor);
118 doku_linkwiz.val = 'global';
119 doku_linkwiz.toggle();
1536 var doku_linkwiz = {
1555 if(doku_linkwiz.$wiz)
1557 doku_linkwiz.$wiz = jQuery(document.createElement('div'))
1579 doku_linkwiz.textArea = $editor[0];
1580 doku_linkwiz.result = jQuery('#link__wiz_result')[0];
1583 jQuery(doku_linkwiz.result).css('position', 'relative');
1585 doku_linkwiz.$entry = jQuery('#link__wiz_entry');
1587 doku_linkwiz.$entry.val(JSINFO.namespace+':');
1591 jQuery('#link__wiz .ui-dialog-titlebar-close').click(doku_linkwiz.hide);
1592 doku_linkwiz.$entry.keyup(doku_linkwiz.onEntry);
1593 jQuery(doku_linkwiz.result).delegate('a', 'click', doku_linkwiz.onResultClick);
1604 doku_linkwiz.hide();
1610 doku_linkwiz.select(doku_linkwiz.selected -1);
1616 doku_linkwiz.select(doku_linkwiz.selected +1);
1622 if(doku_linkwiz.selected > -1){
1623 var $obj = doku_linkwiz.$getResult(doku_linkwiz.selected);
1625 doku_linkwiz.resultClick($obj.find('a')[0]);
1627 }else if(doku_linkwiz.$entry.val()){
1628 doku_linkwiz.insertLink(doku_linkwiz.$entry.val());
1635 doku_linkwiz.autocomplete();
1645 DEPRECATED('use doku_linkwiz.$getResult()[0] instead');
1646 return doku_linkwiz.$getResult()[0] || null;
1656 return jQuery(doku_linkwiz.result).find('div').eq(num);
1664 doku_linkwiz.deselect();
1668 var $obj = doku_linkwiz.$getResult(num);
1673 doku_linkwiz.deselect();
1681 var yDiff = childPos + $obj.outerHeight() - jQuery(doku_linkwiz.result).innerHeight();
1685 jQuery(doku_linkwiz.result)[0].scrollTop += childPos;
1689 jQuery(doku_linkwiz.result)[0].scrollTop += yDiff;
1692 doku_linkwiz.selected = num;
1699 if(doku_linkwiz.selected > -1){
1700 doku_linkwiz.$getResult(doku_linkwiz.selected).removeClass('selected');
1702 doku_linkwiz.selected = -1;
1715 doku_linkwiz.resultClick(this);
1723 doku_linkwiz.$entry.val(a.title);
1725 doku_linkwiz.autocomplete_exec();
1728 doku_linkwiz.insertLink(a.nextSibling.innerHTML);
1730 doku_linkwiz.insertLink('');
1742 var link = doku_linkwiz.$entry.val(),
1763 doku_linkwiz.hide();
1766 doku_linkwiz.$entry.val(doku_linkwiz.$entry.val().replace(/[^:]*$/, ''));
1775 if(doku_linkwiz.timer !== null){
1776 window.clearTimeout(doku_linkwiz.timer);
1777 doku_linkwiz.timer = null;
1780 doku_linkwiz.timer = window.setTimeout(doku_linkwiz.autocomplete_exec,350);
1787 var $res = jQuery(doku_linkwiz.result);
1788 doku_linkwiz.deselect();
1794 q: doku_linkwiz.$entry.val()
1803 doku_linkwiz.$wiz.show();
1804 doku_linkwiz.$entry.focus();
1805 doku_linkwiz.autocomplete();
1808 var temp = doku_linkwiz.$entry.val();
1809 doku_linkwiz.$entry.val('');
1810 doku_linkwiz.$entry.val(temp);
1817 doku_linkwiz.$wiz.hide();
1818 doku_linkwiz.textArea.focus();
1825 if(doku_linkwiz.$wiz.css('display') == 'none'){
1826 doku_linkwiz.show();
1828 doku_linkwiz.hide();