Skip to content

breaks with noConflict() #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ispysoftware opened this issue May 20, 2011 · 1 comment
Closed

breaks with noConflict() #156

ispysoftware opened this issue May 20, 2011 · 1 comment

Comments

@ispysoftware
Copy link

Couldn't get this to work with my webpage, finally found that a call to jQuery.noConflict() prevents it from running at all and returns "object has no method datetimepicker"

@fnagel
Copy link

fnagel commented May 30, 2011

Current version works with noConflict when working without localization files. These need to be modified. Please take a look at the original language files which are wrapped in a to work with other shortcuts than $.

jQuery(function($){ 
    $.timepicker.regional['de'] = {
        timeOnlyTitle: 'Zeit Wählen',
        timeText: 'Zeit',
        hourText: 'Stunde',
        minuteText: 'Minute',
        secondText: 'Sekunde',
        timezoneText: 'Zeitzone',
        currentText: 'Jetzt',
        closeText: 'Fertig',
        timeFormat: 'hh:mm tt',
        ampm: false
    };
    $.timepicker.setDefaults($.timepicker.regional['de']);
)}; 

Please change this asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants