Merge lp:~rjwills/ensoft-sextant/fix-double-request into lp:ensoft-sextant
Proposed by
Robert
Status: | Merged |
---|---|
Approved by: | Robert |
Approved revision: | 26 |
Merged at revision: | 26 |
Proposed branch: | lp:~rjwills/ensoft-sextant/fix-double-request |
Merge into: | lp:ensoft-sextant |
Diff against target: |
20 lines (+6/-3) 1 file modified
resources/sextant/web/queryjavascript.js (+6/-3) |
To merge this branch: | bzr merge lp:~rjwills/ensoft-sextant/fix-double-request |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert | Approve | ||
Review via email: mp+236425@code.launchpad.net |
Commit message
Fix the bug where the result image is requested twice.
This change is the smallest possible fix. It takes the XHR response and base64-encodes it to construct a data URL. This data URL can then be set as the image source, which saves the second request.
Description of the change
Fix the bug where the result image is requested twice.
This change is the smallest possible fix. It takes the XHR response and base64-encodes it to construct a data URL. This data URL can then be set as the image source, which saves the second request.
To post a comment you must log in.