diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-01 10:30:45 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-01 10:30:45 -0800 |
commit | c14ac57b1935a124dd4205e0f02d939086b5867e (patch) | |
tree | 207e1c947eec0eadac98ba0050d84056e450d99e /plugins/UserFlag/UserFlagPlugin.php | |
parent | 85544d369d2c9c3ba0fef6c821c951879823b014 (diff) | |
parent | fba4153346435026976193a7d38e6042b863733d (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/UserFlag/UserFlagPlugin.php')
-rw-r--r-- | plugins/UserFlag/UserFlagPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php index a33869c19..8728e5703 100644 --- a/plugins/UserFlag/UserFlagPlugin.php +++ b/plugins/UserFlag/UserFlagPlugin.php @@ -208,8 +208,8 @@ class UserFlagPlugin extends Plugin function onEndShowScripts($action) { $action->inlineScript('if ($(".form_entity_flag").length > 0) { '. - 'SN.U.FormXHR($(".form_entity_flag")); '. - '}'); + '$(".form_entity_flag").bind("click", function() {'. + 'SN.U.FormXHR($(this)); return false; }); }'); return true; } |