Permalink
Browse files

Fix button label on durationbox

  • Loading branch information...
1 parent f347c24 commit 2c6f56205b61e4a560161fbf8790f08a286c7f7c @jtsage committed Dec 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jqm-datebox.mode.durationbox.js
@@ -118,7 +118,7 @@
y = $('<div>', {'class':uid+'controls'});
if ( o.useSetButton ) {
- $('<a href="#">'+((o.mode==='datebox')?w.__('setDateButtonLabel'):w.__('setTimeButtonLabel'))+'</a>')
+ $('<a href="#">'+w.__('setDurationButtonLabel')+'</a>')
.appendTo(y).buttonMarkup({theme: o.theme, icon: 'check', iconpos: 'left', corners:true, shadow:true})
.on(o.clickEventAlt, function(e) {
e.preventDefault();

0 comments on commit 2c6f562

Please sign in to comment.