From: Youmin Ha Date: Mon, 3 Sep 2012 08:21:45 +0000 (+0900) Subject: Export 0.1.44 X-Git-Tag: 2.0_alpha~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1ea4c5d62438c778b76ca4f89a709e78a9750d1;p=platform%2Fframework%2Fweb%2Fweb-ui-fw.git Export 0.1.44 --- diff --git a/packaging/web-ui-fw.spec b/packaging/web-ui-fw.spec index 501aa97..ebd262d 100644 --- a/packaging/web-ui-fw.spec +++ b/packaging/web-ui-fw.spec @@ -1,5 +1,5 @@ Name: web-ui-fw -Version: 0.1.43 +Version: 0.1.44 Release: 0 Summary: Tizen Web UI Framework Library Group: Development/Other @@ -88,6 +88,13 @@ Summary: Tizen Web UI Framework Demo Application: tizen winset demo ############################### %changelog +* Fri Aug 31 2012 Minkyu Kang 0.1.44 +- FIX: + - swipelist: show list items correctly + - datetimepicker: set last day, if day is overflowed +- Spec changes: + - controlbar: update icons + * Tue Aug 29 2012 Minkyu Kang 0.1.43 - FIX: - notification: fix typo diff --git a/src/themes/tizen/common/jquery.mobile.listview.less b/src/themes/tizen/common/jquery.mobile.listview.less index 1a5380e..40f21b0 100755 --- a/src/themes/tizen/common/jquery.mobile.listview.less +++ b/src/themes/tizen/common/jquery.mobile.listview.less @@ -101,7 +101,8 @@ .ui-content { .ui-listview { - margin: -16 * @unit_base; + margin-left: -16 * @unit_base; + margin-right: -16 * @unit_base; padding-bottom: 1px; .ui-listview { diff --git a/src/themes/tizen/common/jquery.mobile.tizen.swipelist.less b/src/themes/tizen/common/jquery.mobile.tizen.swipelist.less index dd7369e..5e133ac 100755 --- a/src/themes/tizen/common/jquery.mobile.tizen.swipelist.less +++ b/src/themes/tizen/common/jquery.mobile.tizen.swipelist.less @@ -7,16 +7,12 @@ } .ui-swipelist-item { + height: 52 * @unit_base; -webkit-user-select: none; -user-select: none; .ui-btn { - margin-top: -0.3em !important; - } - - .ui-dummy { - padding-top : 30 * @unit_base; - padding-bottom : 30 * @unit_base; + margin-top: -1.5em !important; } } @@ -29,7 +25,6 @@ height: 100%; z-index: 100; - .ui-swipelist-item-cover-inner { position : absolute; padding-top : 30 * @unit_base; diff --git a/src/widgets/datetimepicker/js/jquery.mobile.tizen.datetimepicker.js b/src/widgets/datetimepicker/js/jquery.mobile.tizen.datetimepicker.js index c1a7e52..f17b2c9 100644 --- a/src/widgets/datetimepicker/js/jquery.mobile.tizen.datetimepicker.js +++ b/src/widgets/datetimepicker/js/jquery.mobile.tizen.datetimepicker.js @@ -183,7 +183,11 @@ break; case 'mm': //00 01 ... 59 case 'm': //0 1 2 ... 59 - $(div).append( tpl.replace('%1', 'min') ); + if ( this.options.type == 'date' ) { + $(div).append( tpl.replace('%1', 'month') ); + } else { + $(div).append( tpl.replace('%1', 'min') ); + } break; case 'ss': case 's': @@ -713,6 +717,10 @@ break; case 'month': date.setMonth( val - 1 ); + + if ( date.getMonth() == val ) { + date.setDate( date.getDate() - 1 ); + } break; case 'day': date.setDate( val ); diff --git a/src/widgets/swipelist/js/jquery.mobile.tizen.swipelist.js b/src/widgets/swipelist/js/jquery.mobile.tizen.swipelist.js index 05c9957..0fab979 100644 --- a/src/widgets/swipelist/js/jquery.mobile.tizen.swipelist.js +++ b/src/widgets/swipelist/js/jquery.mobile.tizen.swipelist.js @@ -126,7 +126,6 @@ coverTheme = defaultCoverTheme, // get the parent li element and add classes item = cover.closest('li'), - btn, itemHasThemeClass; // add swipelist CSS classes @@ -167,13 +166,7 @@ // any clicks on buttons inside the item also trigger // the cover to slide back to the left - btn = item.find('.ui-btn'); - - if ( btn.length ) { - btn.bind('vclick', cover.data('animateLeft')); - } else { - item.append('
'); - } + item.find('.ui-btn').bind('vclick', cover.data('animateLeft')); }); },