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
84ce9458
Commit
84ce9458
authored
Dec 10, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Graph editor: use a more abstract name for node edit dialog now that it is also used to edit edges
parent
bd6fe8c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dream/platform/src/jsplumb/index.html
dream/platform/src/jsplumb/index.html
+2
-2
dream/platform/src/jsplumb/jsplumb.js
dream/platform/src/jsplumb/jsplumb.js
+2
-2
No files found.
dream/platform/src/jsplumb/index.html
View file @
84ce9458
...
...
@@ -24,9 +24,9 @@
</script>
<template
id=
"popup-edit-template"
>
<div
id=
"
node-
edit-popup"
data-position-to=
"origin"
>
<div
id=
"edit-popup"
data-position-to=
"origin"
>
<div
data-role=
"header"
data-theme=
"a"
>
<h1
class=
"node_class"
>
Node edition
</h1>
<h1
class=
"node_class"
>
Edit properties
</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 @
84ce9458
...
...
@@ -434,7 +434,7 @@
gadget
.
props
.
element
.
appendChild
(
document
.
importNode
(
popup_edit_template
.
content
,
true
).
children
[
0
]
);
edit_popup
=
$
(
gadget
.
props
.
element
).
find
(
'
#
node-
edit-popup
'
);
edit_popup
=
$
(
gadget
.
props
.
element
).
find
(
'
#edit-popup
'
);
edit_popup
.
find
(
'
.node_class
'
).
text
(
connection
.
_class
);
fieldset_element
=
edit_popup
.
find
(
'
fieldset
'
)[
0
];
edit_popup
.
popup
();
...
...
@@ -539,7 +539,7 @@
gadget
.
props
.
element
.
appendChild
(
document
.
importNode
(
popup_edit_template
.
content
,
true
).
children
[
0
]
);
node_edit_popup
=
$
(
gadget
.
props
.
element
).
find
(
'
#
node-
edit-popup
'
);
node_edit_popup
=
$
(
gadget
.
props
.
element
).
find
(
'
#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
];
...
...
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