Revision 955
Added by doc over 15 years ago
dragdrop.js | ||
---|---|---|
23 | 23 |
|
24 | 24 |
var page_type = ''; |
25 | 25 |
var is_tree = false; |
26 |
if(document.URL.indexOf("/admin/pages/index.php") > 0) { |
|
26 |
|
|
27 |
if(document.URL.indexOf(JsAdmin.ADMIN_URL + "/pages/index.php") > -1) { |
|
27 | 28 |
page_type = 'pages'; |
28 | 29 |
is_tree = true; |
29 | 30 |
|
Also available in: Unified diff
Removed hardcoded admin path from JSAdmin module (jsadmin/js/dragdrop.js)