My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 30, 2009
    issue 6 (12-hour picker on a 24-hour field) commented on by wade.shearer   -   Correction: "This IS NOT a bug…". I also changed the hours and minutes arrays such that the hours no longer have leading zeros and the minutes are every five instead of every fifteen.
    Correction: "This IS NOT a bug…". I also changed the hours and minutes arrays such that the hours no longer have leading zeros and the minutes are every five instead of every fifteen.
  • Dec 30, 2009
    issue 6 (12-hour picker on a 24-hour field) reported by wade.shearer   -   This a bug, but I would like to contribute my changes back to the community and see no other way than here. This plugin also seems to no longer be under active development. I found this plugin not very usable as-is since it reads and writes in 12-hour format. While most people (strangely) prefer 12 hour format for interacting with, databases are 24 hour. While I could have converted the format with scripting on the back-end, I preferred to have the picker display 12-hour but read/write 24-hour. I also added a colon between the hour and the minute select lists and a space between the minute and the am/pm list. I have included tomsalfield (issue 3) and jasonalanharris' (issue 5) changes as well.
    This a bug, but I would like to contribute my changes back to the community and see no other way than here. This plugin also seems to no longer be under active development. I found this plugin not very usable as-is since it reads and writes in 12-hour format. While most people (strangely) prefer 12 hour format for interacting with, databases are 24 hour. While I could have converted the format with scripting on the back-end, I preferred to have the picker display 12-hour but read/write 24-hour. I also added a colon between the hour and the minute select lists and a space between the minute and the am/pm list. I have included tomsalfield (issue 3) and jasonalanharris' (issue 5) changes as well.

Older

  • Nov 10, 2009
    issue 5 (Exception thrown on init and no starting value) reported by jasonalanharris   -   When I included the timepicker on my page, an exception was thrown. I tracked the issue down to // hide original input and append new replacement inputs $(this).attr('type', 'hidden').after(output); I replaced that with $(this).css('display', 'none').after(output); and the issue went away. I also noticed the input's value was not filled in until the user picked a time. Since there is a default time on init, a user would expect that time to be the current value of the input, so I added code to make that happen. Attached are my changes if you are interested in them
    When I included the timepicker on my page, an exception was thrown. I tracked the issue down to // hide original input and append new replacement inputs $(this).attr('type', 'hidden').after(output); I replaced that with $(this).css('display', 'none').after(output); and the issue went away. I also noticed the input's value was not filled in until the user picked a time. Since there is a default time on init, a user would expect that time to be the current value of the input, so I added code to make that happen. Attached are my changes if you are interested in them
  • Oct 18, 2009
    issue 4 (type property can't be changed) commented on by vpoulissen   -   Same error here with: - jQuery 1.3.2 - Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Workaround works also in: - Opera/9.80 (Windows NT 6.0; U; nl) Presto/2.2.15 Version/10.00 - IE8 8.0.6001 - Chrome 3.0.195 - Safari 4.0.3 Thnx a lot!
    Same error here with: - jQuery 1.3.2 - Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Workaround works also in: - Opera/9.80 (Windows NT 6.0; U; nl) Presto/2.2.15 Version/10.00 - IE8 8.0.6001 - Chrome 3.0.195 - Safari 4.0.3 Thnx a lot!
  • Oct 08, 2009
    issue 3 (leading 0 bug when parsing initial input tag) commented on by l...@klparker.com   -   This also effects the ability of the plugin to properly choose the selected hour. I modified my code so that it changed all instances of parseInt(x) to parseInt(x, 10). I have attached a diff which fixes the bug.
    This also effects the ability of the plugin to properly choose the selected hour. I modified my code so that it changed all instances of parseInt(x) to parseInt(x, 10). I have attached a diff which fixes the bug.
  • Oct 05, 2009
    issue 4 (type property can't be changed) commented on by mbernard.webdeveloper   -   I had the same problem with : - jQuery 1.3.2 - User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 and the workaround fixed the issue. Thanks !
    I had the same problem with : - jQuery 1.3.2 - User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 and the workaround fixed the issue. Thanks !
  • Sep 22, 2009
    issue 4 (type property can't be changed) commented on by troex.nevelin   -   The same error with jquery 1.3.2 here. Workaround helped with Safari 4.0.3 (Mac) Thanks Daniel!
    The same error with jquery 1.3.2 here. Workaround helped with Safari 4.0.3 (Mac) Thanks Daniel!
  • Jun 21, 2009
    issue 4 (type property can't be changed) commented on by goclemson   -   I got the same error using jquery 1.3.2, the proposed work around seems to resolve the issue in Firefox, have not tried anywhere else. thanks.
    I got the same error using jquery 1.3.2, the proposed work around seems to resolve the issue in Firefox, have not tried anywhere else. thanks.
  • Jun 11, 2009
    issue 4 (type property can't be changed) reported by DanielLarsenNZ   -   Anyone else getting this error in Firefox? What steps will reproduce the problem? 1. jQuery("#Time").timepicker(); What is the expected output? What do you see instead? + input#Time should be replaced with the timepicker selects + Instead, get error: Error: [Exception... "'type property can't be changed' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] What version of the product are you using? On what operating system? + Firefox 3.0.10 + Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Please provide any additional information below. + The offending line is 96: $(this).attr('type', 'hidden').after(output); Workaround: $(this)[0].style.display="none"; $(this).after(output);
    Anyone else getting this error in Firefox? What steps will reproduce the problem? 1. jQuery("#Time").timepicker(); What is the expected output? What do you see instead? + input#Time should be replaced with the timepicker selects + Instead, get error: Error: [Exception... "'type property can't be changed' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] What version of the product are you using? On what operating system? + Firefox 3.0.10 + Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Please provide any additional information below. + The offending line is 96: $(this).attr('type', 'hidden').after(output); Workaround: $(this)[0].style.display="none"; $(this).after(output);
 
Hosted by Google Code