Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Ajax HTTP Method not needed#13618

Merged
mszabo-wikia merged 2 commits into
Wikia:devfrom
shaedrich:patch-12
Sep 18, 2017
Merged

Ajax HTTP Method not needed#13618
mszabo-wikia merged 2 commits into
Wikia:devfrom
shaedrich:patch-12

Conversation

@shaedrich
Copy link
Copy Markdown
Contributor

Results in wrong url

Results in wrong url
@KockaAdmiralac
Copy link
Copy Markdown
Contributor

You could make it look cleaner with

$.get(wgScriptPath + '/index.php', {
    action: 'ajax',
    rs: 'WMU',
    method: 'clean',
    mwname: $('#ImageUploadMWname').val(),
    tempid: $( '#ImageUploadTempid' ).val()
});

@shaedrich
Copy link
Copy Markdown
Contributor Author

Oh, that I should have seen :D Thank's for that hint 👍

@mszabo-wikia mszabo-wikia merged commit de4b4f7 into Wikia:dev Sep 18, 2017
@shaedrich shaedrich deleted the patch-12 branch September 19, 2017 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants