draft: Avoid ajax requests for setting up the draft
Drafts now are placed directly into the HTML response. The response contains the draft information as well as the original content saved in the database for the content being modified. The draft itself is placed into the redactor box rather than the current content. This patch also reduces some of the [Draft Saved] notices where there is no content or the content has not yet been modified.
Showing
- include/class.draft.php 2 additions, 2 deletionsinclude/class.draft.php
- include/class.forms.php 13 additions, 8 deletionsinclude/class.forms.php
- include/client/view.inc.php 7 additions, 3 deletionsinclude/client/view.inc.php
- include/staff/cannedresponse.inc.php 6 additions, 4 deletionsinclude/staff/cannedresponse.inc.php
- include/staff/faq.inc.php 5 additions, 4 deletionsinclude/staff/faq.inc.php
- include/staff/page.inc.php 4 additions, 3 deletionsinclude/staff/page.inc.php
- include/staff/templates/ticket-status.tmpl.php 2 additions, 1 deletioninclude/staff/templates/ticket-status.tmpl.php
- include/staff/ticket-open.inc.php 14 additions, 7 deletionsinclude/staff/ticket-open.inc.php
- include/staff/ticket-view.inc.php 14 additions, 9 deletionsinclude/staff/ticket-view.inc.php
- include/staff/tpl.inc.php 4 additions, 3 deletionsinclude/staff/tpl.inc.php
- scp/emailtest.php 4 additions, 2 deletionsscp/emailtest.php
Loading
Please register or sign in to comment