blob: bd5403f0dc49b26073da57dcc730ee240700605d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*jslint sloppy: true */
/*global dw_index, dw_qsearch, DEPRECATED_WRAP */
var index = {
throbber_delay: dw_index.throbber_delay,
toggle: DEPRECATED_WRAP(dw_index.toggle, dw_index),
treeattach: DEPRECATED_WRAP(dw_index.treeattach, dw_index)
};
var ajax_quicksearch = {
init: DEPRECATED_WRAP(dw_qsearch.init, dw_qsearch),
clear_results: DEPRECATED_WRAP(dw_qsearch.clear_results, dw_qsearch),
onCompletion: DEPRECATED_WRAP(dw_qsearch.onCompletion, dw_qsearch)
};
function findPosX(object){
DEPRECATED('Use jQuery.position() instead');
return jQuery(object).position().left;
}
function findPosY(object){
DEPRECATED('Use jQuery.position() instead');
return jQuery(object).position().top;
}
|