make move_files have EntryAmendments, do not remove from the UI instantly, and handle just like delete_files, remove restriction on forcing the page to go back to / on search, with new logic its not an issue, also force MoveDBox to start with Storage path rather than another, MOST moves should be to Storage, but should tweak this to be the opposite of current path type

This commit is contained in:
2025-10-26 13:32:31 +11:00
parent 6eba21e028
commit 4421da0d1d
5 changed files with 22 additions and 31 deletions

View File

@@ -674,8 +674,7 @@ def move_files():
for el in request.form:
jex.append( JobExtra( name=f"{el}", value=str(request.form[el]) ) )
job=NewJob( name="move_files", num_files=0, wait_for=None, jex=jex, desc="to move selected file(s)" )
# data is not used, but send response to trigger CheckForJobs()
return jsonify( job_id=job.id )
return jsonify( job=job_schema.dump(job) )
@login_required
@app.route("/view/", methods=["POST"])