Loading ...
Sorry, an error occurred while loading the content.

17582Calendar - Preventing click before double-click

Expand Messages
  • chonlia
    Sep 2, 2007
      I find a function to prevent click before double-click using

      The problem is i don't know how pass parameters.

      At calendar.js, doSelectCell:

      click_timer = window.setTimeout
      (YAHOO.widget.Calendar.prototype.doSelectCell(e, cal), 300);

      And at my custom doDblSelectCell:


      Don't works, because setTimeout crash.