Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
950eaf60
Commit
950eaf60
authored
Jun 26, 2019
by
Steffen Michels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pass event of itasks.htmlEvent explicitly, as the implicit method is not supported by Firefox
parent
8b512322
Pipeline
#26037
passed with stage
in 5 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Examples/GIS/LeafletMapExample.icl
Examples/GIS/LeafletMapExample.icl
+1
-1
Libraries/iTasks/UI/WebPublic/js/itasks-core.js
Libraries/iTasks/UI/WebPublic/js/itasks-core.js
+1
-1
No files found.
Examples/GIS/LeafletMapExample.icl
View file @
950eaf60
...
...
@@ -113,7 +113,7 @@ where
,
title
=
"Test Window"
,
content
=
DivTag
[]
[
H1Tag
[]
[
Text
"This is test content!"
]
,
ATag
[
HrefAttr
"#"
,
OnclickAttr
"itasks.htmlEvent('closewindows')"
]
[
Text
"Close windows"
]
,
ATag
[
HrefAttr
"#"
,
OnclickAttr
"itasks.htmlEvent(
event,
'closewindows')"
]
[
Text
"Close windows"
]
]
,
relatedMarkers
=
[(
LeafletObjectID
"home"
,
[])]
}
...
...
Libraries/iTasks/UI/WebPublic/js/itasks-core.js
View file @
950eaf60
...
...
@@ -688,7 +688,7 @@ itasks.ConnectionPool = {
};
//Global functions that you can use to trigger edit events from pieces of html code displayed by components
itasks
.
htmlEvent
=
function
(
msg
)
{
itasks
.
htmlEvent
=
function
(
event
,
msg
)
{
var
domEl
=
event
.
target
;
var
component
=
null
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment