Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open forms from reports in new window #41

Open
GoogleCodeExporter opened this issue Mar 22, 2016 · 1 comment
Open

open forms from reports in new window #41

GoogleCodeExporter opened this issue Mar 22, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

1. generate some report with ratproxy-report with POST requests
2. click on some POST link

When forms are openning in new windows you can stay and read current report

Patch:
--- ratproxy-report.orig    2010-03-25 16:36:17.517758221 +0300
+++ ratproxy-report 2010-03-25 16:35:49.995321426 +0300
@@ -337,7 +337,7 @@
       if ! echo "$payload" | grep -q '^GWT_RPC\['; then

         echo "<input type=submit value=\"edit values\"
onclick=\"document.getElementById('form$CNT').style.display='inline';return
false;\" style=\"border-width: 1px; background-color: #FFFFC0; font-size:
0.9em; display: inline\">"
-        echo "<form action=\"$url\" method=\"POST\" id=\"form$CNT\"
style=\"display: none\">"
+        echo "<form action=\"$url\" method=\"POST\" id=\"form$CNT\"
target=\"_blank\" style=\"display: none\">"
         echo "$payload" | sed 's/\&#x\(..\);/%\1/g' | sed 's/&/\
 /g' | sed 's/%26/\&/g;s/%3B/;/g' | sed 's/\%\(..\)/\&#x\1;/g' | \
         while IFS='=' read -r param val; do 


Original issue reported on code.google.com by naplan...@gmail.com on 25 Mar 2010 at 1:42

@GoogleCodeExporter
Copy link
Author

OK.

Original comment by lcam...@gmail.com on 25 Mar 2010 at 8:54

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant