Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bde8c54a
authored
10 years ago
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: fix remove event firing twice
parent
458a7b75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
circle/network/static/js/host.js
+1
-1
circle/network/static/js/switch-port.js
+1
-1
circle/network/tables.py
+2
-1
No files found.
circle/network/static/js/host.js
View file @
bde8c54a
$
(
'i[class="fa fa-times"]'
).
click
(
function
()
{
$
(
'
#small_rule_table
i[class="fa fa-times"]'
).
click
(
function
()
{
href
=
$
(
this
).
parent
(
'a'
).
attr
(
'href'
);
csrf
=
getCookie
(
'csrftoken'
);
var
click_this
=
this
;
...
...
This diff is collapsed.
Click to expand it.
circle/network/static/js/switch-port.js
View file @
bde8c54a
$
(
'i[class="fa fa-times"]'
).
click
(
function
()
{
$
(
'
.ethernet-devices-mini-table
i[class="fa fa-times"]'
).
click
(
function
()
{
href
=
$
(
this
).
parent
(
'a'
).
attr
(
'href'
);
csrf
=
getCookie
(
'csrftoken'
);
var
click_this
=
this
;
...
...
This diff is collapsed.
Click to expand it.
circle/network/tables.py
View file @
bde8c54a
...
...
@@ -83,7 +83,8 @@ class SmallRuleTable(Table):
class
Meta
:
model
=
Rule
attrs
=
{
'class'
:
'table table-striped table-bordered table-condensed'
}
attrs
=
{
'class'
:
'table table-striped table-bordered table-condensed'
,
'id'
:
"small_rule_table"
}
fields
=
(
'rule'
,
'action'
,
)
...
...
This diff is collapsed.
Click to expand it.
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