Last active
August 29, 2015 13:56
-
-
Save nitishn/9283137 to your computer and use it in GitHub Desktop.
Revisions
-
nnarala revised this gist
Mar 4, 2014 . 2 changed files with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ $(document).on('didRefreshWidgetContent', function () { // referral url is canvas_url + reverral_id var the_referral_id = $('.ref-id').data('id'); var the_referral_url = "{{ canvas_url }}" + "?wfrs=" + the_referral_id; }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ <!-- This would go within the {% if sweeps_settings.completed %} section --> <div class="ref-id" data-id="{{ sweeps_settings.referral_id }}"></div> -
nnarala revised this gist
Mar 4, 2014 . 1 changed file with 0 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +0,0 @@ -
nitishn created this gist
Mar 1, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ $(document).on('didRefreshWidgetContent', function () { // referral url is canvas_url + reverral_id the_referral_url = ''; the_referral_url = "{{ canvas_url }}" + "?app_{{ sweeps_settings.referral_id }}”; });