Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
89fd7232
Commit
89fd7232
authored
Aug 11, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set the name of the popup to the node class
parent
201a9994
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
dream/platform/src/jsplumb/index.html
dream/platform/src/jsplumb/index.html
+1
-1
dream/platform/src/jsplumb/jsplumb.js
dream/platform/src/jsplumb/jsplumb.js
+2
-0
No files found.
dream/platform/src/jsplumb/index.html
View file @
89fd7232
...
...
@@ -24,7 +24,7 @@
<template
id=
"popup-edit-template"
>
<div
id=
"node-edit-popup"
data-position-to=
"origin"
>
<div
data-role=
"header"
data-theme=
"a"
>
<h1>
Node edition
</h1>
<h1
class=
"node_class"
>
Node edition
</h1>
<a
href=
"#"
data-rel=
"back"
class=
"ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right"
>
Close
</a>
</div>
<br/>
...
...
dream/platform/src/jsplumb/jsplumb.js
View file @
89fd7232
...
...
@@ -488,6 +488,8 @@
document
.
importNode
(
popup_edit_template
.
content
,
true
).
children
[
0
]
);
node_edit_popup
=
$
(
gadget
.
props
.
element
).
find
(
'
#node-edit-popup
'
);
// Set the name of the popup to the node class
node_edit_popup
.
find
(
'
.node_class
'
).
text
(
node_data
.
_class
);
fieldset_element
=
node_edit_popup
.
find
(
'
fieldset
'
)[
0
];
node_edit_popup
.
popup
();
...
...
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