Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change 'Create' to 'Add' in clues/teams editor

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
  • Loading branch information...
commit 39503ee7ed4f970dda1113f6a45ab40b7ea36d91 1 parent 8a4a210
Stefan Hajnoczi stefanha authored

Showing 1 changed file with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. +3 4 src/static/js/list-edit.js
7 src/static/js/list-edit.js
@@ -9,7 +9,6 @@ function ListEdit(values, elementId, headers, fields) {
9 9 var th = jQuery('<th></th>').appendTo(tr);
10 10 th.text(headers[i]);
11 11 }
12   - jQuery('<th>Delete</th>').appendTo(tr);
13 12
14 13 this.render(values);
15 14
@@ -49,11 +48,11 @@ ListEdit.prototype.render = function(values) {
49 48 }
50 49 jQuery('.Delete').click(this.addEventHandler('deleteValue'));
51 50
52   - this.element.append(this.renderValue({}, 'Create'));
53   - jQuery('.Create').click(this.addEventHandler('createValue'));
  51 + this.element.append(this.renderValue({}, 'Add'));
  52 + jQuery('.Add').click(this.addEventHandler('addValue'));
54 53 };
55 54
56   -ListEdit.prototype.createValue = function(e, element) {
  55 +ListEdit.prototype.addValue = function(e, element) {
57 56 var tr = jQuery(element).parent().parent();
58 57 var i;
59 58 var value = {};

0 comments on commit 39503ee

Please sign in to comment.
Something went wrong with that request. Please try again.