summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pocock2014-11-08 20:03:50 (GMT)
committerDaniel Pocock2014-11-08 20:03:50 (GMT)
commitd35bf46a3e2bda94d4b499b2f34037b33cf2fc85 (patch)
tree090266a873e176e98bd768a347b5f800a6b97784
parent953a90d411b35a31311e4b875eba1e33b807afca (diff)
Ensure jQuery UI functions are available, now used by JSCommunicator
-rw-r--r--drucall.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/drucall.module b/drucall.module
index eb9eb0c..f7a1ba6 100644
--- a/drucall.module
+++ b/drucall.module
@@ -49,6 +49,11 @@ function drucall_call() {
global $language;
+ // Make sure the necessary jQuery UI components are available on
+ // the page, Drupal loads core jQuery automatically but not jQuery UI
+ drupal_add_library('system', 'ui.draggable');
+ drupal_add_library('system', 'ui.resizable');
+
// We use the `libraries' module to load javascript dependencies:
foreach ([ "jssip", "jscommunicator", "arbiterjs", "jqueryi18nproperties", "fontawesome" ] as $libname) {