Index: trunk/core/units/categories/categories_event_handler.php =================================================================== diff -u -r7391 -r7635 --- trunk/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 7391) +++ trunk/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 7635) @@ -294,12 +294,14 @@ { $object =& $event->getObject( Array('skip_autoload' => true) ); - $object->addCalculatedField('IsNew', ' IF(%1$s.NewItem = 2, - IF(%1$s.CreatedOn >= (UNIX_TIMESTAMP() - '. - $this->Application->ConfigValue('Category_DaysNew'). - '*3600*24), 1, 0), - %1$s.NewItem - )'); + $object->addCalculatedField( + 'IsNew', + ' IF(%1$s.NewItem = 2, + IF(%1$s.CreatedOn >= (UNIX_TIMESTAMP() - '. + $this->Application->ConfigValue('Category_DaysNew'). + '*3600*24), 1, 0), + %1$s.NewItem + )'); } /** @@ -440,6 +442,7 @@ $this->Application->RemoveVar('clipboard'); $clipboard_helper =& $this->Application->recallObject('ClipboardHelper'); $clipboard_helper->setClipboard($event, 'copy', $this->StoreSelectedIDs($event)); + $this->clearSelectedIDs($event); } /** @@ -452,6 +455,7 @@ $this->Application->RemoveVar('clipboard'); $clipboard_helper =& $this->Application->recallObject('ClipboardHelper'); $clipboard_helper->setClipboard($event, 'cut', $this->StoreSelectedIDs($event)); + $this->clearSelectedIDs($event); } /** @@ -503,7 +507,7 @@ } if ($clipboard_data['cut'] || $clipboard_data['copy']) { - $event->redirect = 'categories/cache_updater'; + $event->redirect = 'in-portal/categories/cache_updater'; } }