mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Fixes #12108: Limit the draggable area of widgets to their headers
This commit is contained in:
parent
730eb2e83b
commit
198c004c1d
@ -70,6 +70,7 @@ Two new webhook trigger events have been introduced: `job_start` and `job_end`.
|
||||
|
||||
### Bug Fixes (From Beta1)
|
||||
|
||||
* [#12108](https://github.com/netbox-community/netbox/issues/12108) - Limit the draggable area of widgets to their headers
|
||||
* [#12109](https://github.com/netbox-community/netbox/issues/12109) - Fix migration error when replicating more than 100 job results
|
||||
* [#12112](https://github.com/netbox-community/netbox/issues/12112) - Do not link data source URL for local paths
|
||||
|
||||
|
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -22,6 +22,11 @@ export function initDashboard(): void {
|
||||
// Initialize the grid
|
||||
let grid = GridStack.init({
|
||||
cellHeight: 100,
|
||||
draggable: {
|
||||
handle: '.grid-stack-item-content .card-header',
|
||||
appendTo: 'body',
|
||||
scroll: true
|
||||
}
|
||||
});
|
||||
|
||||
// Create a listener for the dashboard save button
|
||||
|
Loading…
Reference in New Issue
Block a user