mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-18 00:54:26 -04:00
add hacky workaround for TagInline not showing in admin Snapshot change view
This commit is contained in:
parent
cf2faecf61
commit
a49739b41c
1 changed files with 6 additions and 1 deletions
|
@ -265,6 +265,10 @@
|
||||||
})
|
})
|
||||||
console.log('Converted', buttons.children().length, 'admin actions from dropdown to buttons')
|
console.log('Converted', buttons.children().length, 'admin actions from dropdown to buttons')
|
||||||
}
|
}
|
||||||
|
function fixInlineAddRow() {
|
||||||
|
$('#id_snapshottag-MAX_NUM_FORMS').val('1000')
|
||||||
|
$('.add-row').show()
|
||||||
|
}
|
||||||
|
|
||||||
function setupSnapshotGridListToggle() {
|
function setupSnapshotGridListToggle() {
|
||||||
$("#snapshot-view-list").click(selectSnapshotListView)
|
$("#snapshot-view-list").click(selectSnapshotListView)
|
||||||
|
@ -290,6 +294,7 @@
|
||||||
}
|
}
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
fix_actions()
|
fix_actions()
|
||||||
|
fixInlineAddRow()
|
||||||
setupSnapshotGridListToggle()
|
setupSnapshotGridListToggle()
|
||||||
setTimeOffset()
|
setTimeOffset()
|
||||||
selectSnapshotIfHotlinked()
|
selectSnapshotIfHotlinked()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue