[Git][noosfero/noosfero][master] 2 commits: Fixes event handling of popover menu triggers
Rodrigo Souto
gitlab at mg.gitlab.com
Wed May 3 11:25:23 BRT 2017
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
73457c35 by Gabriel Silva at 2017-05-02T21:38:34+00:00
Fixes event handling of popover menu triggers
Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>
- - - - -
331f5c62 by Rodrigo Souto at 2017-05-03T14:25:01+00:00
Merge branch 'fix_trigger_events' into 'master'
Fixes event handling on popover menu triggers
See merge request !1190
- - - - -
1 changed file:
- public/javascripts/add-and-join.js
Changes:
=====================================
public/javascripts/add-and-join.js
=====================================
--- a/public/javascripts/add-and-join.js
+++ b/public/javascripts/add-and-join.js
@@ -64,7 +64,7 @@ jQuery(function($) {
return false;
})
- $(".person-trigger").click(function(){
+ $('body').on('click', '.person-trigger', function(){
clicked = $(this);
url = clicked.attr("url");
$.get(url, function(data){
@@ -81,7 +81,7 @@ jQuery(function($) {
})
})
- $(".community-trigger").click(function(){
+ $('body').on('click', '.community-trigger', function(){
clicked = $(this);
url = clicked.attr("url");
$.get(url, function(data){
@@ -100,7 +100,7 @@ jQuery(function($) {
})
})
- $(".enterprise-trigger").click(function(){
+ $('body').on('click', '.enterprise-trigger', function(){
clicked = $(this);
url = clicked.attr("url");
$.get(url, function(data){
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/4bd43bdd957deacb6582df73c1a77cc421f1c079...331f5c62e6487fdd62ccd865408b90c1523a3acd
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/4bd43bdd957deacb6582df73c1a77cc421f1c079...331f5c62e6487fdd62ccd865408b90c1523a3acd
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170503/e86be98a/attachment-0001.html>
More information about the Noosfero-dev
mailing list