Possible Bug with cancelling an edit?

Hi!

I think I have found a bug? To recreate:

  • open up samples/01_basic/01_init.html
  • click any event
  • click edit
  • click start
  • change the time
  • click done
  • click cancel (i.e., we don’t want that time change after all)
  • look at time on event view: the newly selected (wrong) time is shown
  • click back
  • old (correct) time is shown
  • click on the event again
  • look at time on event view: the newly selected (wrong) time is shown

Is it because dhx.protoUI._setValue ought not to be setting the value to this._settings until the “Save” button is clicked?

What would the fix be?

Hi,

I have attached the fixed libs. Please try them
libs.zip (138 KB)

Thanks for the response! As I’m still in the dev phase (and debugging a LOT), I’m using the _debug version of the framework: is there any way of getting the same changes for that file?

Many thanks!

I have attached the debug versions.

regards
libs.zip (374 KB)

Thank you very much!