File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ core = 7.x
18
18
19
19
; Features + related
20
20
# projects[features][subdir] = "contrib"
21
- # projects[features][version] = "2.0-beta1 "
21
+ # projects[features][version] = "2.0-beta2 "
22
22
23
23
# projects[strongarm][subdir] = "contrib"
24
24
# projects[strongarm][version] = "2.0"
25
25
26
26
;Views
27
27
# projects[views][subdir] = "contrib"
28
- # projects[views][version] = "3.5 "
28
+ # projects[views][version] = "3.7 "
29
29
# projects[views][patch][] = "http://drupal.org/files/combine_and_contains_word-1782678-9.patch"
30
30
31
31
# projects[views_php][subdir] = "contrib"
@@ -40,7 +40,7 @@ core = 7.x
40
40
41
41
; Basic
42
42
# projects[ctools][subdir] = "contrib"
43
- # projects[ctools][version] = "1.2 "
43
+ # projects[ctools][version] = "1.3 "
44
44
45
45
# projects[date][subdir] = "contrib"
46
46
# projects[date][version] = "2.6"
@@ -58,4 +58,4 @@ core = 7.x
58
58
# projects[token][version] = "1.4"
59
59
60
60
# projects[entity][subdir] = "contrib"
61
- # projects[entity][version] = "1.0-rc3 "
61
+ # projects[entity][version] = "1.1 "
Original file line number Diff line number Diff line change @@ -11,11 +11,19 @@ include_once 'os2web_cp_service.features.inc';
11
11
* Implements hook_init().
12
12
*/
13
13
function os2web_cp_service_init() {
14
-
15
- // Menu Minipanels us using qTip. Only add qTip js if module doesnt exits.
16
- if (!module_exists('menu_minipanels')) {
17
- drupal_add_js(drupal_get_path('module', 'os2web_cp_service') . '/js/jquery.qtip-1.0.0-rc3.min.js');
14
+
15
+ // Proper Libraries API support.
16
+ $qtip_path = NULL;
17
+ if (function_exists('libraries_get_path')) {
18
+ $qtip_path = libraries_get_path('qtip');
19
+ if (!empty($qtip_path)) {
20
+ $qtip_path .= '/jquery.qtip-1.0.0-rc3.min.js';
21
+ }
22
+ }
23
+ if (!$qtip_path) {
24
+ $qtip_path = drupal_get_path('module', 'os2web_cp_service') . '/js/jquery.qtip-1.0.0-rc3.min.js';
18
25
}
26
+ drupal_add_js($qtip_path);
19
27
20
28
drupal_add_js(drupal_get_path('module', 'os2web_cp_service') . '/js/os2web_cp_service.js');
21
29
drupal_add_css(drupal_get_path('module', 'os2web_cp_service') . '/css/os2web_cp_service.css');
You can’t perform that action at this time.
0 commit comments