From: Fomafix Date: Sat, 25 Jun 2016 09:40:51 +0000 (+0000) Subject: Follow-up ebe7205c: Edit stash: Unbreak jQuery selectors X-Git-Tag: 1.31.0-rc.0~6520^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=caa21309d7d4a60973b9294bdce3328b5429dab6;p=lhc%2Fweb%2Fwiklou.git Follow-up ebe7205c: Edit stash: Unbreak jQuery selectors Change-Id: I4d72948ba62cb5c1cc29277f30363c29e42fa25b --- diff --git a/resources/src/mediawiki.action/mediawiki.action.edit.stash.js b/resources/src/mediawiki.action/mediawiki.action.edit.stash.js index 2ae05dd6e5..da27d20cce 100644 --- a/resources/src/mediawiki.action/mediawiki.action.edit.stash.js +++ b/resources/src/mediawiki.action/mediawiki.action.edit.stash.js @@ -13,10 +13,10 @@ $form = $( '#editform' ), $text = $form.find( '#wpTextbox1' ), $summary = $form.find( '#wpSummary' ), - section = $form.find( '#wpSection' ).val(), - model = $form.find( '#model' ).val(), - format = $form.find( '#format' ).val(), - revId = $form.find( '#parentRevId' ).val(), + section = $form.find( '[name=wpSection]' ).val(), + model = $form.find( '[name=model]' ).val(), + format = $form.find( '[name=format]' ).val(), + revId = $form.find( '[name=parentRevId]' ).val(), lastText = $text.textSelection( 'getContents' ), timer = null;