aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/elgg.php (renamed from views/default/js/initialise_elgg.php)12
1 files changed, 10 insertions, 2 deletions
diff --git a/views/default/js/initialise_elgg.php b/views/default/js/elgg.php
index 2db51d991..fdf9aa858 100644
--- a/views/default/js/initialise_elgg.php
+++ b/views/default/js/elgg.php
@@ -1,6 +1,6 @@
<?php
/**
- * Bootstrap Elgg javascript
+ * Core Elgg javascript loader
*/
global $CONFIG;
@@ -321,4 +321,12 @@ this.each(function() {
});
-}; \ No newline at end of file
+};
+
+<?php
+
+$previous_content = elgg_view('js/initialise_elgg');
+if ($previous_content) {
+ elgg_deprecated_notice("The view 'js/initialise_elgg' has been deprecated for js/elgg", 1.8);
+ echo $previous_content;
+}