aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-25 10:43:42 -0400
committercash <cash.costello@gmail.com>2011-06-25 10:43:42 -0400
commitb60a991ae79edf3761fbf2553aae978f4e36f14c (patch)
treee04fe7d1b5864d69db6c1fbfd565fc9230684c18 /js/lib
parent0f7ac7fc48f103955f2372abbca1743ef79809c9 (diff)
downloadelgg-b60a991ae79edf3761fbf2553aae978f4e36f14c.tar.gz
elgg-b60a991ae79edf3761fbf2553aae978f4e36f14c.tar.bz2
Fixes #3610 $guid was not defined
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index 692311d73..89a996122 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -228,25 +228,6 @@ elgg.ui.requiresConfirmation = function(e) {
};
/**
- * Repositions the likes popup
- *
- * @param {String} hook 'getOptions'
- * @param {String} type 'ui.popup'
- * @param {Object} params An array of info about the target and source.
- * @param {Object} options Options to pass to
- *
- * @return {Object}
- */
-elgg.ui.likesPopupHandler = function(hook, type, params, options) {
- if (params.target.hasClass('elgg-likes-list')) {
- options.my = 'right bottom';
- options.at = 'left top';
- return options;
- }
- return null;
-};
-
-/**
* Repositions the login popup
*
* @param {String} hook 'getOptions'
@@ -266,5 +247,4 @@ elgg.ui.LoginHandler = function(hook, type, params, options) {
};
elgg.register_hook_handler('init', 'system', elgg.ui.init);
-elgg.register_hook_handler('getOptions', 'ui.popup', elgg.ui.likesPopupHandler);
elgg.register_hook_handler('getOptions', 'ui.popup', elgg.ui.LoginHandler); \ No newline at end of file