You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/10/12 11:27:36 UTC

svn commit: r1708065 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Author: humbedooh
Date: Mon Oct 12 09:27:36 2015
New Revision: 1708065

URL: http://svn.apache.org/viewvc?rev=1708065&view=rev
Log:
typo fixes

Modified:
    steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pysteve/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_rest.js?rev=1708065&r1=1708064&r2=1708065&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Mon Oct 12 09:27:36 2015
@@ -454,7 +454,7 @@ function renderEditIssue(code, response,
 			obj.innerHTML = "<h3>Editing an " + edit_i.type.toUpperCase() + " issue</h3>"
 			obj.appendChild(keyvaluepair("id", "Issue ID:", "text", edit_i.id, true))
 			obj.appendChild(keyvaluepair("ititle", "Issue title:", "text", edit_i.title))
-			obj.appendChild(keyvaluepair("description", "Description (optinal):", "textarea", edit_i.description))
+			obj.appendChild(keyvaluepair("description", "Description (optional):", "textarea", edit_i.description))
 			obj.appendChild(document.createElement('hr'))
 			
 			// candidates
@@ -479,7 +479,7 @@ function renderEditIssue(code, response,
 			obj.innerHTML = "<h3>Editing a D'Hondt (" + edit_i.type.toUpperCase() + ") issue</h3>"
 			obj.appendChild(keyvaluepair("id", "Issue ID:", "text", edit_i.id, true))
 			obj.appendChild(keyvaluepair("ititle", "Issue title:", "text", edit_i.title))
-			obj.appendChild(keyvaluepair("description", "Description (optinal):", "textarea", edit_i.description))
+			obj.appendChild(keyvaluepair("description", "Description (optional):", "textarea", edit_i.description))
 			obj.appendChild(document.createElement('hr'))
 			
 			// candidates
@@ -505,7 +505,7 @@ function renderEditIssue(code, response,
 			obj.innerHTML = "<h3>Editing a First Past the Post issue</h3>"
 			obj.appendChild(keyvaluepair("id", "Issue ID:", "text", edit_i.id, true))
 			obj.appendChild(keyvaluepair("ititle", "Issue title:", "text", edit_i.title))
-			obj.appendChild(keyvaluepair("description", "Description (optinal):", "textarea", edit_i.description))
+			obj.appendChild(keyvaluepair("description", "Description (optional):", "textarea", edit_i.description))
 			obj.appendChild(document.createElement('hr'))
 			
 			// candidates
@@ -531,7 +531,7 @@ function renderEditIssue(code, response,
 			obj.innerHTML = "<h3>Editing a Multiple Non-Transferable Vote (" + edit_i.type.toUpperCase() + ") issue</h3>"
 			obj.appendChild(keyvaluepair("id", "Issue ID:", "text", edit_i.id, true))
 			obj.appendChild(keyvaluepair("ititle", "Issue title:", "text", edit_i.title))
-			obj.appendChild(keyvaluepair("description", "Description (optinal):", "textarea", edit_i.description))
+			obj.appendChild(keyvaluepair("description", "Description (optional):", "textarea", edit_i.description))
 			obj.appendChild(document.createElement('hr'))
 			
 			// candidates
@@ -557,7 +557,7 @@ function renderEditIssue(code, response,
 			obj.innerHTML = "<h3>Editing a First in Class Vote (" + edit_i.type.toUpperCase() + ") issue</h3>"
 			obj.appendChild(keyvaluepair("id", "Issue ID:", "text", edit_i.id, true))
 			obj.appendChild(keyvaluepair("ititle", "Issue title:", "text", edit_i.title))
-			obj.appendChild(keyvaluepair("description", "Description (optinal):", "textarea", edit_i.description))
+			obj.appendChild(keyvaluepair("description", "Description (optional):", "textarea", edit_i.description))
 			obj.appendChild(document.createElement('hr'))
 			
 			// candidates
@@ -583,7 +583,7 @@ function renderEditIssue(code, response,
 			obj.innerHTML = "<h3>Editing a Candidate or Party Vote (" + edit_i.type.toUpperCase() + ") issue</h3>"
 			obj.appendChild(keyvaluepair("id", "Issue ID:", "text", edit_i.id, true))
 			obj.appendChild(keyvaluepair("ititle", "Issue title:", "text", edit_i.title))
-			obj.appendChild(keyvaluepair("description", "Description (optinal):", "textarea", edit_i.description))
+			obj.appendChild(keyvaluepair("description", "Description (optional):", "textarea", edit_i.description))
 			obj.appendChild(document.createElement('hr'))
 			
 			// candidates/parties