Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
18e590ef
Commit
18e590ef
authored
Dec 11, 2018
by
BaiJiangJie
Committed by
老广
Dec 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] 修复创建授权规则,选择资产导致其他输入框清空的bug - select2 (#2141)
parent
9d1f5d31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
label_create_update.html
apps/assets/templates/assets/label_create_update.html
+1
-1
asset_permission_create_update.html
...perms/templates/perms/asset_permission_create_update.html
+1
-1
No files found.
apps/assets/templates/assets/label_create_update.html
View file @
18e590ef
...
@@ -35,7 +35,7 @@ $(document).ready(function () {
...
@@ -35,7 +35,7 @@ $(document).ready(function () {
})
})
.
on
(
'click'
,
'#btn_asset_modal_confirm'
,
function
()
{
.
on
(
'click'
,
'#btn_asset_modal_confirm'
,
function
()
{
var
assets
=
asset_table2
.
selected
;
var
assets
=
asset_table2
.
selected
;
$
(
'
.select2
'
).
val
(
assets
).
trigger
(
'change'
);
$
(
'
#id_assets
'
).
val
(
assets
).
trigger
(
'change'
);
$
(
"#asset_list_modal"
).
modal
(
'hide'
);
$
(
"#asset_list_modal"
).
modal
(
'hide'
);
})
})
</script>
</script>
...
...
apps/perms/templates/perms/asset_permission_create_update.html
View file @
18e590ef
...
@@ -113,7 +113,7 @@ $(document).ready(function () {
...
@@ -113,7 +113,7 @@ $(document).ready(function () {
.
on
(
'click'
,
'#btn_asset_modal_confirm'
,
function
()
{
.
on
(
'click'
,
'#btn_asset_modal_confirm'
,
function
()
{
var
assets
=
asset_table2
.
selected
;
var
assets
=
asset_table2
.
selected
;
$
(
'
.select2
'
).
val
(
assets
).
trigger
(
'change'
);
$
(
'
#id_assets
'
).
val
(
assets
).
trigger
(
'change'
);
$
(
"#asset_list_modal"
).
modal
(
'hide'
);
$
(
"#asset_list_modal"
).
modal
(
'hide'
);
});
});
...
...
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