When using the support_timer module, navigating away from a ticket will result in any time data that was collected being lost. The module should throw a warning if the user is navigating away from a ticket without saving the changes.

CommentFileSizeAuthor
#5 timer.jpg223.33 KBNToronto

Comments

jeremy’s picture

Status: Active » Fixed

Feature committed:
http://drupal.org/cvs?commit=300434

Can be administratively disabled, but is enabled by default.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

NToronto’s picture

Status: Closed (fixed) » Active

"Can be administratively disabled, but is enabled by default."

Where in the admin can this be enabled/disabled? I am running 6.x-1.0 and can't find it?

Secondly, how can this be enabled/disabled in code?

jeremy’s picture

Status: Active » Fixed

You can disable the feature by going to Administer >> Support ticketing system >> Settings >> Timer. You have to have "administer support" permissions to access this page.

You could also disable it by adding the following line to settings.php:

 $conf['support_timer_unload_warning'] = FALSE;
NToronto’s picture

Status: Fixed » Active
StatusFileSize
new223.33 KB

In the Settings page I do not see the "Timer" section. Screenshot is attached.

I am logged in as admin using the Garland theme and running Support Timer 6.x-1.0.

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

A few things to try:

  • Go to the Admin >> Site configuration >> Performance section and flush the cache. Does the menu then appear?
  • Go to Admin >> Site building >> Menus >> Navigation and confirm that the "Support ticketing system >> Settings >> Timer" menu item is properly enabled.
  • Simply disable the feature by editing settings.php as described above.
NToronto’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I previously tried flushing the cache but it didn't solve the missing Timer menu item.

In Admin >> Site building >> Menus >> Navigation I simply edited the Timer menu item (but did not save any changes) and the Timer menu item now displays correctly. Perhaps editing a menu item forces a menu rebuild.... weird.

Thanks Jeremy!