Browse Source

Uninline forum post text saving JS

undefined
spaghetti 7 years ago
committed by Tomochin
parent
commit
1fa32745a4
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      design/views/generic/reply/quickreply.php

+ 1
- 8
design/views/generic/reply/quickreply.php View File

@@ -96,7 +96,7 @@
</td>
</tr>
</table>
<form class="send_form center" name="reply" id="quickpostform" <?=isset($Action)?'action="'.$Action.'"':''?> method="post"<? if (!check_perms('users_mod')) { ?> onsubmit="quickpostform.submit_button.disabled = true;"<? } ?>>
<form class="send_form center" name="reply" id="quickpostform" <?=isset($Action)?'action="'.$Action.'"':''?> method="post"<? if (!check_perms('users_mod')) { ?> onsubmit="quickpostform.submit_button.disabled = true;"<? } ?> <? if (!G::$LoggedUser['DisableAutoSave']) { ?>data-autosave-text="quickpost"<? } ?>>
<input type="hidden" name="action" value="<?=$InputAction?>" />
<input type="hidden" name="auth" value="<?=G::$LoggedUser['AuthKey']?>" />
<input type="hidden" name="<?=$InputName?>" value="<?=$InputID?>" />
@@ -130,13 +130,6 @@
?>
<input id="mergebox" type="checkbox" name="merge" tabindex="2" />
<label for="mergebox">Merge</label>
<?
}
if (!G::$LoggedUser['DisableAutoSave']) {
?>
<script type="application/javascript">
var storedTempTextarea = new StoreText('quickpost', 'quickpostform', <?=$InputID?>);
</script>
<?
}
}


Loading…
Cancel
Save