Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
novelai-storage
Stable Diffusion Webui
Commits
6e4f5566
Commit
6e4f5566
authored
Oct 15, 2022
by
yfszzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sorting files
parent
acedbe67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
javascript/images_history.js
javascript/images_history.js
+3
-3
No files found.
javascript/images_history.js
View file @
6e4f5566
...
@@ -96,7 +96,7 @@ function images_history_get_current_img(tabname, image_path, files){
...
@@ -96,7 +96,7 @@ function images_history_get_current_img(tabname, image_path, files){
];
];
}
}
function
images_history_delete
(
del_num
,
tabname
,
img_
path
,
img_
file_name
,
page_index
,
filenames
,
image_index
){
function
images_history_delete
(
del_num
,
tabname
,
img_file_name
,
page_index
,
filenames
,
image_index
){
image_index
=
parseInt
(
image_index
);
image_index
=
parseInt
(
image_index
);
var
tab
=
gradioApp
().
getElementById
(
tabname
+
'
_images_history
'
);
var
tab
=
gradioApp
().
getElementById
(
tabname
+
'
_images_history
'
);
var
set_btn
=
tab
.
querySelector
(
"
.images_history_set_index
"
);
var
set_btn
=
tab
.
querySelector
(
"
.images_history_set_index
"
);
...
@@ -132,12 +132,12 @@ function images_history_delete(del_num, tabname, img_path, img_file_name, page_i
...
@@ -132,12 +132,12 @@ function images_history_delete(del_num, tabname, img_path, img_file_name, page_i
return
[
del_num
,
tabname
,
img_path
,
img_file_name
,
page_index
,
filenames
,
image_index
];
return
[
del_num
,
tabname
,
img_path
,
img_file_name
,
page_index
,
filenames
,
image_index
];
}
}
function
images_history_turnpage
(
img_path
,
page_index
,
image_index
,
tabname
){
function
images_history_turnpage
(
img_path
,
page_index
,
image_index
,
tabname
,
date_from
,
date_to
){
var
buttons
=
gradioApp
().
getElementById
(
tabname
+
'
_images_history
'
).
querySelectorAll
(
"
.gallery-item
"
);
var
buttons
=
gradioApp
().
getElementById
(
tabname
+
'
_images_history
'
).
querySelectorAll
(
"
.gallery-item
"
);
buttons
.
forEach
(
function
(
elem
)
{
buttons
.
forEach
(
function
(
elem
)
{
elem
.
style
.
display
=
'
block
'
;
elem
.
style
.
display
=
'
block
'
;
})
})
return
[
img_path
,
page_index
,
image_index
,
tabname
];
return
[
img_path
,
page_index
,
image_index
,
tabname
,
date_from
,
date_to
];
}
}
function
images_history_enable_del_buttons
(){
function
images_history_enable_del_buttons
(){
...
...
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