mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
correcting API use, avoid history glitch
This commit is contained in:
parent
ebbb850b27
commit
a459c4692c
4 changed files with 5 additions and 5 deletions
|
@ -1187,7 +1187,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
|
||||
// reload data
|
||||
ServerInteraction.prepare();
|
||||
ServerInteraction.setUrl(Helper.baseUri() + '?' + me.getPasteId());
|
||||
ServerInteraction.setUrl(Helper.baseUri() + '?pasteid=' + me.getPasteId());
|
||||
|
||||
ServerInteraction.setFailure(function (status, data) {
|
||||
// revert loading status…
|
||||
|
@ -4658,7 +4658,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
|
||||
Model.getPasteData(function (data) {
|
||||
ServerInteraction.prepare();
|
||||
ServerInteraction.setUrl(Helper.baseUri() + '?' + Model.getPasteId());
|
||||
ServerInteraction.setUrl(Helper.baseUri() + '?pasteid=' + Model.getPasteId());
|
||||
|
||||
ServerInteraction.setFailure(function (status, data) {
|
||||
// revert loading status…
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue