Download & Extend

Warn if navigating away from ticket without saving timer data

Project:Support Timer
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Jeremy
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» fixed

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

Can be administratively disabled, but is enabled by default.

#2

Status:fixed» closed (fixed)

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

#3

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?

#4

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;

#5

Status:fixed» active

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.

AttachmentSize
timer.jpg 223.33 KB

#6

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.

#7

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!

nobody click here