whitespace fixes
This commit is contained in:
parent
adb9f31803
commit
523f7652f2
@ -155,8 +155,6 @@
|
||||
|
||||
editor.getSession().setValue(window.wiki_page_content);
|
||||
window.editor = editor; // Store the editor in the window object so the anonymous function can use it.
|
||||
|
||||
|
||||
{{else}}
|
||||
window.editor = editor = $('#editor');
|
||||
{{/if}}
|
||||
@ -245,8 +243,8 @@
|
||||
ev.preventDefault();
|
||||
return false;
|
||||
}
|
||||
$.post("wiki/{{$channel}}/save/page",
|
||||
{ content: currentContent,
|
||||
$.post("wiki/{{$channel}}/save/page", {
|
||||
content: currentContent,
|
||||
commitMsg: $('#id_commitMsg').val(),
|
||||
name: window.wiki_page_name,
|
||||
resource_id: window.wiki_resource_id
|
||||
@ -300,8 +298,7 @@
|
||||
window.console.log('You must have a wiki page open in order to revert pages.');
|
||||
return false;
|
||||
}
|
||||
$.post("wiki/{{$channel}}/compare/page",
|
||||
{
|
||||
$.post("wiki/{{$channel}}/compare/page", {
|
||||
compareCommit: compareCommit,
|
||||
currentCommit: window.wiki_page_commit,
|
||||
name: window.wiki_page_name,
|
||||
@ -330,7 +327,6 @@
|
||||
ev.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
var initializeEmbedPhotoDialog = function () {
|
||||
$('.embed-photo-selected-photo').each(function (index) {
|
||||
$(this).removeClass('embed-photo-selected-photo');
|
||||
@ -434,7 +430,5 @@
|
||||
{{else}}
|
||||
window.editor.bbco_autocomplete('bbcode');
|
||||
{{/if}}
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user