summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.xml2
-rw-r--r--js/app.ui.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/config.xml b/config.xml
index 40b6220..0d21b61 100644
--- a/config.xml
+++ b/config.xml
@@ -7,7 +7,7 @@
<content src="index.html" />
<icon src="icon.png" />
<name>Event Manager</name>
- <feature name="http://tizen.org/feature/screen.size.all"/>
+ <feature name="http://tizen.org/feature/screen.size.normal.720.1280"/>
<tizen:privilege name="http://tizen.org/privilege/application.launch" />
<tizen:privilege name="http://tizen.org/privilege/calendar.read" />
<tizen:privilege name="http://tizen.org/privilege/calendar.write" />
diff --git a/js/app.ui.js b/js/app.ui.js
index 65c9e2a..4e94b35 100644
--- a/js/app.ui.js
+++ b/js/app.ui.js
@@ -645,6 +645,7 @@ function Ui() {
$('#add-alarm').on('click', app.switchAlarm.bind(app));
// go to alarm selection
$('#add_alarm').on('click', function (e) {
+ app.ui.alarm.disableCustomDuration();
alarm = parseInt($('#alarm').text(), 10);
if (alarm === 0) {
app.ui.alarm.setValue(0);
@@ -652,7 +653,6 @@ function Ui() {
app.ui.alarm.setValue(alarm || -1);
}
e.preventDefault();
- app.ui.alarm.disableCustomDuration();
$.mobile.changePage('#new_alarm');
});
},
@@ -718,7 +718,6 @@ function Ui() {
updateDateFormat: function (fast) {
var date = tizen.time.getDateFormat(true),
time = tizen.time.getTimeFormat();
- $("#title").blur();
if (this.allday.val() === '1') {
this.format = "MMM dd yyyy";
this.end.parent().parent().hide();
@@ -736,6 +735,7 @@ function Ui() {
this.start.datetimepicker("option", "format", this.format);
this.end.datetimepicker("option", "format", this.format);
} else {
+ $("#title").blur();
this.start.datetimepicker("option", "format", this.format)
.datetimepicker();
this.end.datetimepicker("option", "format", this.format)