Permalink
Browse files

Merge branch 'master' of github.com:pum2pum/pum2pum

  • Loading branch information...
nip3o committed May 2, 2012
2 parents 81bf5be + 7306ff3 commit fa23acd8edb1dd7826b54bb7b60af9c59b7ac138
Showing with 12 additions and 7 deletions.
  1. +5 −5 src/forum/kinds/Forum.NewThread.js
  2. +7 −2 src/forum/style.css
@@ -21,8 +21,8 @@ enyo.kind({
]}
]},
{tag: "div", classes: ["newThreadButtonsHolder"], components: [
- {tag: "button", name: "abortButton", content: "", ontap: "abort"},
- {tag: "button", name: "postButton", content: "", ontap: "postThread"}]}],
+ {kind: "onyx.Button", name: "abortButton", classes: ["newThreadAbortButton"], content: "", ontap: "abort"},
+ {kind: "onyx.Button", name: "postButton", classes: ["newThreadPostButton"], content: "", ontap: "postThread"}]}],
create: function () {
@@ -67,6 +67,7 @@ enyo.kind({
// Validate
var errorsExist = false;
+ var delay = 1000;
if(title.length == 0){
@@ -77,8 +78,7 @@ enyo.kind({
that.$.title.removeClass("errorEmptyInput");
- }, 1000);
-
+ }, delay);
}
@@ -91,7 +91,7 @@ enyo.kind({
that.$.post.removeClass("errorEmptyInput");
- }, 1000);
+ }, delay);
}
View
@@ -353,7 +353,12 @@ li, ul {
background-color: red !important;
}
+.newThreadAbortButton{
+ background-color: #C51616;
+ color: #F1F1F1;
+}
-.postButton{
- float: right;
+.newThreadPostButton{
+ background-color: #91BA07;
+ color: #F1F1F1;
}

0 comments on commit fa23acd

Please sign in to comment.