new WCF.Search.User('#invisibleParticipants', null, false, [ ], true);
WCF.Message.Submit.registerButton('text', $('#messageContainer > .formSubmit > input[type=submit]'));
+ new WCF.Message.FormGuard();
});
//]]>
</script>
<p class="error">{lang}wcf.global.form.error{/lang}</p>
{/if}
-<form id="messageContainer" method="post" action="{link controller='ConversationAdd'}{/link}">
+<form id="messageContainer" class="jsFormGuard" method="post" action="{link controller='ConversationAdd'}{/link}">
<div class="container containerPadding marginTop">
<fieldset>
<legend>{lang}wcf.conversation.information{/lang}</legend>
new WCF.Conversation.Message.QuoteHandler($quoteManager);
WCF.Message.Submit.registerButton('text', $('#messageContainer > .formSubmit > input[type=submit]'));
+ new WCF.Message.FormGuard();
});
//]]>
</script>
<p class="error">{lang}wcf.global.form.error{/lang}</p>
{/if}
-<form id="messageContainer" method="post" action="{link controller='ConversationMessageAdd' id=$conversationID}{/link}">
+<form id="messageContainer" class="jsFormGuard" method="post" action="{link controller='ConversationMessageAdd' id=$conversationID}{/link}">
<div class="container containerPadding marginTop">
<fieldset>
<legend>{lang}wcf.conversation.message{/lang}</legend>
//<![CDATA[
$(function() {
WCF.Message.Submit.registerButton('text', $('#messageContainer > .formSubmit > input[type=submit]'));
+ new WCF.Message.FormGuard();
});
//]]>
</script>
<p class="error">{lang}wcf.global.form.error{/lang}</p>
{/if}
-<form id="messageContainer" method="post" action="{link controller='ConversationMessageEdit' id=$messageID}{/link}">
+<form id="messageContainer" class="jsFormGuard" method="post" action="{link controller='ConversationMessageEdit' id=$messageID}{/link}">
<div class="container containerPadding marginTop">
{if $isFirstMessage}
<fieldset>