Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4077 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Dec 31, 2009
1 parent 1534ff6 commit 364e280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 1 addition & 8 deletions CTK/Server.py
Expand Up @@ -56,7 +56,7 @@ def Validate (self):
errors[key] = str(e)
break

if tmp:
if tmp and tmp != val:
self.post[key][n] = tmp
updates[key] = tmp

Expand All @@ -78,13 +78,6 @@ def _process_post (self):
post = Post (self.post)
return post

def _render_page_ret (self, ret):
# <int> - HTTP Error <int>
# <dict> - JSON <dict>
# <str> - 200, HTTP <str>
# <list> - [
None

def _do_handle (self):
# Read the URL
url = self.env['REQUEST_URI']
Expand Down
4 changes: 3 additions & 1 deletion static/js/Submitter.js
Expand Up @@ -123,7 +123,6 @@ function Submitter (id, url) {

this.input_keypress_cb = function(event) {
var self = event.data;
self.key_pressed = true;

/* Enter -> Focus next input */
if (event.keyCode == 13) {
Expand All @@ -133,7 +132,10 @@ function Submitter (id, url) {

inputs[next].blur();
inputs[next].focus();
return;
}

self.key_pressed = true;
}

this.input_checkbox_cb = function (event) {
Expand Down

0 comments on commit 364e280

Please sign in to comment.