diff --git a/var/www/Flask_server.py b/var/www/Flask_server.py index 79474155..e45bc407 100755 --- a/var/www/Flask_server.py +++ b/var/www/Flask_server.py @@ -811,7 +811,8 @@ def showsavedpaste(): @app.route("/showpreviewpaste/") def showpreviewpaste(): - return showpaste(max_preview_modal) + num = request.args.get('num', '') + return "|num|"+num+"|num|"+showpaste(max_preview_modal) @app.route("/getmoredata/") diff --git a/var/www/templates/important_paste_by_module.html b/var/www/templates/important_paste_by_module.html index 1f3b1bae..5b4bd8c1 100644 --- a/var/www/templates/important_paste_by_module.html +++ b/var/www/templates/important_paste_by_module.html @@ -59,7 +59,10 @@ function deploy_source() {