aboutsummaryrefslogtreecommitdiff
path: root/mod/embed
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed')
-rw-r--r--mod/embed/manifest.xml2
-rw-r--r--mod/embed/views/default/js/embed/embed.php11
2 files changed, 6 insertions, 7 deletions
diff --git a/mod/embed/manifest.xml b/mod/embed/manifest.xml
index c33c8b40a..7ffbc23a4 100644
--- a/mod/embed/manifest.xml
+++ b/mod/embed/manifest.xml
@@ -8,7 +8,7 @@
<description>Allows users to easily upload and embed media into text areas.</description>
<website>http://www.elgg.org/</website>
<copyright>See COPYRIGHT.txt</copyright>
- <license>GNU Public License version 2</license>
+ <license>GNU General Public License version 2</license>
<requires>
<type>elgg_release</type>
<version>1.8</version>
diff --git a/mod/embed/views/default/js/embed/embed.php b/mod/embed/views/default/js/embed/embed.php
index 3126e12f7..8a8f0290c 100644
--- a/mod/embed/views/default/js/embed/embed.php
+++ b/mod/embed/views/default/js/embed/embed.php
@@ -19,7 +19,7 @@ elgg.embed.init = function() {
$('.embed-section').live('click', elgg.embed.forward);
$('.elgg-form-embed').live('submit', elgg.embed.submit);
-}
+};
/**
* Inserts data attached to an embed list item in textarea
@@ -41,14 +41,13 @@ elgg.embed.insert = function(event) {
<?php
// See the TinyMCE plugin for an example of this view
- echo elgg_view('embed/custom_insert_js');
+echo elgg_view('embed/custom_insert_js');
?>
-
$.fancybox.close();
event.preventDefault();
-}
+};
/**
* Submit an upload form through Ajax
@@ -85,7 +84,7 @@ elgg.embed.submit = function(event) {
// this was bubbling up the DOM causing a submission
event.preventDefault();
event.stopPropagation();
-}
+};
/**
* Loads content within the lightbox
@@ -96,6 +95,6 @@ elgg.embed.submit = function(event) {
elgg.embed.forward = function(event) {
$('.embed-wrapper').parent().load($(this).attr('href'));
event.preventDefault();
-}
+};
elgg.register_hook_handler('init', 'system', elgg.embed.init);