[Bps-public-commit] rt-extension-todolist branch, master, updated. 37b65e80e92648971e0ccd3430887cc6ee62b647

Craig Kaiser craig at bestpractical.com
Mon Apr 22 16:56:39 EDT 2019


The branch, master has been updated
       via  37b65e80e92648971e0ccd3430887cc6ee62b647 (commit)
      from  0b40cfbfb3dcdd9668c866f4373ad933fa640bd1 (commit)

Summary of changes:
 html/Helpers/TodoList | 1 -
 1 file changed, 1 deletion(-)

- Log -----------------------------------------------------------------
commit 37b65e80e92648971e0ccd3430887cc6ee62b647
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Mon Apr 22 16:53:41 2019 -0400

    Do not abort within helper component, allow empty json return
    
    There could be a warning if HTML content is returned instead of JSON,
    by not aborting early it ensures JSON is the content type returned.

diff --git a/html/Helpers/TodoList b/html/Helpers/TodoList
index ca2350e..bb148b9 100644
--- a/html/Helpers/TodoList
+++ b/html/Helpers/TodoList
@@ -11,7 +11,6 @@ if ( $POSTDATA ) {
     RT::Extension::TodoList->UpdateTodoListCustomField(
         %{$args}
     );
-    $m->abort;
 }
 
 if ( $UpdateTodoList ) {

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list