Lines Matching refs:doku_linkwiz
134 doku_linkwiz.init(jQuery('#dw__editform'), editor);
135 doku_linkwiz.val = 'global';
136 doku_linkwiz.toggle();
1488 var doku_linkwiz = {
1507 if(doku_linkwiz.$wiz)
1509 doku_linkwiz.$wiz = jQuery(document.createElement('div'))
1531 doku_linkwiz.textArea = $editor[0];
1532 doku_linkwiz.result = jQuery('#link__wiz_result')[0];
1535 jQuery(doku_linkwiz.result).css('position', 'relative');
1537 doku_linkwiz.$entry = jQuery('#link__wiz_entry');
1539 doku_linkwiz.$entry.val(JSINFO.namespace+':');
1543 jQuery('#link__wiz .ui-dialog-titlebar-close').click(doku_linkwiz.hide);
1544 doku_linkwiz.$entry.keyup(doku_linkwiz.onEntry);
1545 jQuery(doku_linkwiz.result).delegate('a', 'click', doku_linkwiz.onResultClick);
1556 doku_linkwiz.hide();
1562 doku_linkwiz.select(doku_linkwiz.selected -1);
1568 doku_linkwiz.select(doku_linkwiz.selected +1);
1574 if(doku_linkwiz.selected > -1){
1575 var $obj = doku_linkwiz.$getResult(doku_linkwiz.selected);
1577 doku_linkwiz.resultClick($obj.find('a')[0]);
1579 }else if(doku_linkwiz.$entry.val()){
1580 doku_linkwiz.insertLink(doku_linkwiz.$entry.val());
1587 doku_linkwiz.autocomplete();
1597 DEPRECATED('use doku_linkwiz.$getResult()[0] instead');
1598 return doku_linkwiz.$getResult()[0] || null;
1608 return jQuery(doku_linkwiz.result).find('div').eq(num);
1616 doku_linkwiz.deselect();
1620 var $obj = doku_linkwiz.$getResult(num);
1625 doku_linkwiz.deselect();
1633 var yDiff = childPos + $obj.outerHeight() - jQuery(doku_linkwiz.result).innerHeight();
1637 jQuery(doku_linkwiz.result)[0].scrollTop += childPos;
1641 jQuery(doku_linkwiz.result)[0].scrollTop += yDiff;
1644 doku_linkwiz.selected = num;
1651 if(doku_linkwiz.selected > -1){
1652 doku_linkwiz.$getResult(doku_linkwiz.selected).removeClass('selected');
1654 doku_linkwiz.selected = -1;
1667 doku_linkwiz.resultClick(this);
1675 doku_linkwiz.$entry.val(a.title);
1677 doku_linkwiz.autocomplete_exec();
1680 doku_linkwiz.insertLink(a.nextSibling.innerHTML);
1682 doku_linkwiz.insertLink('');
1694 var link = doku_linkwiz.$entry.val(),
1704 doku_linkwiz.hide();
1707 doku_linkwiz.$entry.val(doku_linkwiz.$entry.val().replace(/[^:]*$/, ''));
1716 if(doku_linkwiz.timer !== null){
1717 window.clearTimeout(doku_linkwiz.timer);
1718 doku_linkwiz.timer = null;
1721 doku_linkwiz.timer = window.setTimeout(doku_linkwiz.autocomplete_exec,350);
1728 var $res = jQuery(doku_linkwiz.result);
1729 doku_linkwiz.deselect();
1735 q: doku_linkwiz.$entry.val()
1744 doku_linkwiz.$wiz.show();
1745 doku_linkwiz.$entry.focus();
1746 doku_linkwiz.autocomplete();
1749 var temp = doku_linkwiz.$entry.val();
1750 doku_linkwiz.$entry.val('');
1751 doku_linkwiz.$entry.val(temp);
1758 doku_linkwiz.$wiz.hide();
1759 doku_linkwiz.textArea.focus();
1766 if(doku_linkwiz.$wiz.css('display') == 'none'){
1767 doku_linkwiz.show();
1769 doku_linkwiz.hide();