mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
wiki: Change a conflicting id.
This commit is contained in:
@@ -94,7 +94,7 @@ r.wiki = {
|
||||
statusCode: {
|
||||
409: function(xhr) {
|
||||
var info = JSON.parse(xhr.responseText)
|
||||
,content = $this.children('#content')
|
||||
,content = $this.children('#wiki_page_content')
|
||||
conflict.children('#youredit').val(content.val())
|
||||
conflict.children('#yourdiff').html(info.diffcontent)
|
||||
$this.children('#previous').val(info.newrevision)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
|
||||
<form method="post" id="editform" onsubmit="r.wiki.submitEdit(event)">
|
||||
<textarea name="content" rows="20" cols="20" style="width: 100%" id="content">${keep_space(thing.page_content)}</textarea>
|
||||
<textarea name="content" rows="20" cols="20" style="width: 100%" id="wiki_page_content">${keep_space(thing.page_content)}</textarea>
|
||||
<br/><br/>
|
||||
<label for="reason">${_("reason for revision")}</label><br/>
|
||||
<input type="text" name="reason" maxlength="256" id="wiki_revision_reason" />
|
||||
|
||||
Reference in New Issue
Block a user