File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 240
240
< ul >
241
241
< li > {{ githublink() }}</ li >
242
242
< li > < a href ="http://github.com/mongodb/docs " target ="_blank " title ="Fork the documentation on GitHub and contribute. "> GitHub</ a > </ li >
243
- < li > < a href ="{{ jiralink() }} " target ="_blank " title ="Report a problem with {{pagename|e}}.txt on Jira "> Report a problem</ a > </ li >
243
+ < li > < a id =" myCustomTrigger " href ="{{ jiralink() }} " target ="_blank " title ="Report a problem with {{pagename|e}}.txt on Jira "> Report a problem</ a > </ li >
244
244
</ ul >
245
245
</ div >
246
246
</ div >
313
313
{%- endblock %}
314
314
{%- block jiracollector -%}
315
315
< script type ="text/javascript ">
316
+ // Requires jQuery!
316
317
jQuery . ajax ( {
317
- url : "https://jira.mongodb.org/s/en_US-bxctp1/782/6/1.2.4/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs.js?collectorId=4a7ac3e7 " ,
318
+ url : "https://jira.mongodb.org/s/en_US-bxctp1/782/6/1.2.4/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs.js?collectorId=298ba4e7 " ,
318
319
type : "get" ,
319
320
cache : true ,
320
321
dataType : "script"
321
322
} ) ;
323
+
324
+ window . ATL_JQ_PAGE_PROPS = {
325
+ "triggerFunction" : function ( showCollectorDialog ) {
326
+ //Requries that jQuery is available!
327
+ jQuery ( "#myCustomTrigger" ) . click ( function ( e ) {
328
+ e . preventDefault ( ) ;
329
+ showCollectorDialog ( ) ;
330
+ } ) ;
331
+ } } ;
332
+
322
333
</ script >
323
334
{%- endblock %}
324
335
</ body >
325
- </ html >
336
+ </ html >
You can’t perform that action at this time.
0 commit comments