News:

Wondering if this will always be free?  See why free is better.

Main Menu

Quick Edit - disable subject field

Started by Aaron10, August 17, 2014, 03:22:52 PM

Previous topic - Next topic

Aaron10

Instead of the field to edit a message I want to disable it and just have it show like normal. The following works but upon clicking quick edit the subject line will disappear, but it reappears after saving. So basically just need to put something inside the anchor like $message['subject']

sTemplateSubjectEdit: ', JavaScriptEscape('<a href="' . $scripturl . '?topic=' . $context['current_topic'] . '.msg%msg_id%#msg%msg_id%" rel="nofollow">What goes here?</a><input type="text" style="width: 90%;" name="subject" value="%subject%" size="80" maxlength="80" tabindex="' . $context['tabindex']++ . '" class="input_text" />

Advertisement: