canvas-lms/public/javascripts
Ryan Taylor 2860d53d8a Numerical input fields now handle commas properly
Numerical input commas were replaced by a period on parsing
automatically. This change prevents the improper parsing of these
values.

Fixes CNVS-1607

Test Plan:
  - Generate a quiz
  - Generate quiz questions with numerical input fields (numerical and
    formula question types)
  - Confirm valid input for numbers which include comma separators
  - Regression test for negative values, multiple commas, decimal inputs
  - Take quiz
  - Confirm same behaviors on the take_quiz side.

Change-Id: I642c21f23df8f90a5aaee859a65811041b4644ee
Reviewed-on: https://gerrit.instructure.com/40382
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Trevor deHaan <tdehaan@instructure.com>
Product-Review: Ryan Taylor <rtaylor@instructure.com>
2014-09-02 22:01:44 +00:00
..
bower bump react-router to 0.5.2 2014-08-08 20:20:28 +00:00
client_apps client app: canvas_quiz_statistics 2014-08-19 20:09:21 +00:00
mediaelement Add source chooser to media player 2014-08-14 21:04:55 +00:00
str remove property name collision on js strings 2014-07-17 18:01:50 +00:00
tinymce add accessiblity to sanitization 2014-07-03 20:28:32 +00:00
translations add Persian (fa-IR) crowdsourced language 2014-07-21 23:20:47 +00:00
vendor make screenreader ux in dialogs better 2014-08-26 16:57:47 +00:00
Backbone.js upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
INST.js Fix links in RCE using IE10 2014-02-19 17:31:00 +00:00
account_add_course.js discussions: use strings for IDs in ENV and materialized view 2014-01-16 17:31:32 +00:00
account_add_user.js fix object object error when creating an account user 2013-11-15 19:11:00 +00:00
account_authorization_configs.js add discovery url ui to saml config page 2012-10-12 13:45:05 -06:00
account_settings.js force calendar2_only account setting to true 2014-05-09 16:33:08 +00:00
account_statistics.js don't call jquery UI methods an elements with no widget initialized 2012-08-13 10:16:54 -06:00
add_assignment_group.js refactor assignment show/edit to use backbone 2013-02-12 13:22:18 -07:00
ajax_errors.js fix invalid logging of js errors 2014-08-14 17:15:43 +00:00
alerts.js fix alerts.js error with non-existent roles 2014-05-05 16:42:12 +00:00
assignments.js stop appending digits to long assignment names 2014-06-03 14:35:52 +00:00
attendance.js don't call jquery UI methods an elements with no widget initialized 2012-08-13 10:16:54 -06:00
calcCmd.js fix negative variable evaluation on formula questions 2014-04-09 16:04:11 +00:00
calendar.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
calendar_event.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
calendar_move.js fix inconsistent mini calendar ids and classes 2013-01-29 16:03:51 -07:00
choose_content.js export/import and copy new outcome functionality 2012-08-22 09:52:13 -06:00
choose_course.js organize backbone code and don't make people think about 'use!' 2012-04-21 23:00:05 -06:00
collaborations.js hide descriptions for unselected collaboration 2013-05-01 06:01:18 +00:00
communication_channels.js required field accessibility 2013-09-20 21:57:44 +00:00
content_exports.js rename id for list of content exports to prevent javascript error 2012-05-18 13:37:27 -06:00
content_imports.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
content_locks.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
content_tags_index.js upgrade jquery to 1.7.2 2012-04-24 10:57:38 -06:00
context_modules.js Removes the selected item from modules and module item move dialogs 2014-09-02 18:54:55 +00:00
course.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
course_settings.js apply dual timezone filters 2014-05-23 19:01:34 +00:00
datagrid.js masquerading bar; closes #9477 2012-07-26 10:05:22 -06:00
datejs_to_iso_string_patch.js AMD Conversion 2012-02-06 16:41:40 -07:00
edit_rubric.js "Add Rubric" button will reappear after rubric has been created 2014-07-18 17:50:59 +00:00
ember-data.js upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
ember.js upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
eportfolio.js TinyMCE: Give Switch Views links more meaningful labels 2014-01-21 00:07:28 +00:00
facebooker.js Initial commit. 2011-01-31 18:57:29 -07:00
file_inline.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
find_outcome.js better behavior for truncateText 2012-09-25 09:55:21 -06:00
full_files.js get instead of post to create crocodoc_sessions 2014-06-17 20:23:21 +00:00
grade_summary.js remove total grade tooltip when groups are weighted 2014-02-05 22:23:47 +00:00
gradebook-history.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
gradebook_uploads.js Allow more than 1 student to be ignored on upload 2014-07-15 23:28:21 +00:00
grading_standards.js gpa scale grading standard 2014-04-10 16:00:28 +00:00
groups.js basic groups api; refs #8598 2012-06-05 12:51:42 -06:00
handlebars.js upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
i18n.js ensure translation scope works in optimized js, fixes #10456 2012-09-26 09:46:25 -06:00
i18nObj.js remove property name collision on js strings 2014-07-17 18:01:50 +00:00
instructure.js Accessibility: Names of external links are no longer obscured for SR users 2014-08-01 19:19:41 +00:00
instructure_helper.js queue content migration through content-item launch 2014-07-29 13:10:30 +00:00
jquery.ajaxJSON.js refactor and add api to quiz group reorder 2013-11-21 18:17:48 +00:00
jquery.disableWhileLoading.js TinyMCE: Give Switch Views links more meaningful labels 2014-01-21 00:07:28 +00:00
jquery.doc_previews.js allow html5 fullscreen for the canvadocs iframe 2014-06-17 17:05:10 +00:00
jquery.dropdownList.js AMD Conversion 2012-02-06 16:41:40 -07:00
jquery.fancyplaceholder.js AMD Conversion 2012-02-06 16:41:40 -07:00
jquery.google-analytics.js fix google analytics for multiple events 2013-01-24 15:41:47 -07:00
jquery.inst_tree.js allow accessible keyboard navigation in wiki-sidebar files tab 2014-01-09 22:12:44 +00:00
jquery.instructure_date_and_time.js fix up date formatting in datetime_field 2014-07-15 20:45:33 +00:00
jquery.instructure_forms.js srgb curve grades dialog 2014-05-21 16:24:20 +00:00
jquery.instructure_jquery_patches.js make sure ajax prefilters are applied early 2014-03-13 23:25:28 +00:00
jquery.instructure_misc_helpers.js remove property name collision on js strings 2014-07-17 18:01:50 +00:00
jquery.instructure_misc_plugins.js provide helper method and hooks for lead form updates 2014-03-06 22:41:35 +00:00
jquery.js upgrade jquery to 1.7.2 2012-04-24 10:57:38 -06:00
jquery.keycodes.js AMD Conversion 2012-02-06 16:41:40 -07:00
jquery.loadingImg.js insert show rubric link into ember quiz show menu 2014-06-09 22:18:25 +00:00
jquery.scrollToVisible.js upgrade jquery to 1.7.2 2012-04-24 10:57:38 -06:00
jquery.templateData.js insert show rubric link into ember quiz show menu 2014-06-09 22:18:25 +00:00
jquery.toJSON.js new discussion topics/announcement index, edit and create 2012-08-17 09:26:04 -06:00
jquery.ui.menu.inputmenu.js gradebook: focus selected section when opening popup 2014-01-15 17:10:02 +00:00
ldap_settings_test.js test LDAP Settings modal window has info that runs off edge 2013-12-16 21:51:22 +00:00
link_enrollment.js don't call jquery UI methods an elements with no widget initialized 2012-08-13 10:16:54 -06:00
login.js move login js from js_block to bundle, fixes CNVS-10544 2014-01-17 19:27:54 +00:00
manage_avatars.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
manage_groups.js rails3: fix route generation on course roster page 2014-03-06 22:09:07 +00:00
mathquill.js TinyMCE: Improved the accessibility of the equation editor. 2014-01-07 16:10:45 +00:00
media_comments.js Send global root_account_id to Kaltura in partner_data 2014-08-19 21:32:40 +00:00
message_students.js toggleClass expects a boolean, not a truthy value for 2nd param 2014-07-08 14:33:03 +00:00
moderate_quiz.js DS Quiz Moderate - Show proper extra allotted time 2014-07-31 15:48:52 +00:00
page_views.js improve handling of logout issues 2014-08-05 21:38:31 +00:00
plugins.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
prerequisites_lookup.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
profile.js Conversations inbox opt out 2014-08-06 23:12:26 +00:00
question_bank.js reorder content and sidebar 2014-08-29 19:14:04 +00:00
question_banks.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
quiz_arrows.js update reading order of answer items to be more natural 2013-10-24 17:01:33 +00:00
quiz_history.js discussions: use strings for IDs in ENV and materialized view 2014-01-16 17:31:32 +00:00
quiz_index.js multiple due date summary tooltip 2013-04-02 18:47:35 +00:00
quiz_inputs.js enlarge input boxes to fit answers on quiz show pages. 2012-09-08 15:36:12 -06:00
quiz_rubric.js insert show rubric link into ember quiz show menu 2014-06-09 22:18:25 +00:00
quiz_show.js build ember moderate table with student data 2014-05-12 16:38:09 +00:00
quiz_statistics.js show link to download file upload submissions & some refactoring 2013-05-22 22:36:22 +00:00
quiz_statistics_cqs.js client app: canvas_quiz_statistics 2014-08-19 20:09:21 +00:00
quiz_timing.js AMD Conversion 2012-02-06 16:41:40 -07:00
quizzes.js Numerical input fields now handle commas properly 2014-09-02 22:01:44 +00:00
react-router.js added react-router 2014-08-08 19:22:23 +00:00
react.js specs for deleting a file/folder 2014-08-13 19:22:52 +00:00
reminders.js include patch when you require 'jqueryui/draggable' 2012-04-24 16:11:51 -06:00
rubric_assessment.js manage focus with rubrics in speedgrader 2013-10-18 17:16:51 +00:00
saml_testing.js simple debugging feature for saml authentication 2012-02-22 10:27:53 -07:00
section.js add screenreader alerts in cross-listing section dialog 2014-08-14 16:47:37 +00:00
select_content_dialog.js fix 'C:\fakepath\' in files uploaded via add-module-item 2014-07-29 14:08:56 +00:00
sis_import.js fix sis import error styles, fixes #9517 2012-07-25 10:16:30 -06:00
site_admin.js don't call jquery UI methods an elements with no widget initialized 2012-08-13 10:16:54 -06:00
slickgrid.long_text_editor.js added max length to srbg and GB2 notes 2014-04-04 17:52:58 +00:00
speed_grader.js fix speedgrader multiple submission bug 2014-07-15 23:45:56 +00:00
sub_accounts.js fix subaccount action links to support NVDA screenreader 2014-07-30 19:59:08 +00:00
submission_download.js show link to download file upload submissions & some refactoring 2013-05-22 22:36:22 +00:00
submissions.js disable duplicate submission comments 2014-06-19 19:02:25 +00:00
submit_assignment.js better tinymce button spacing on assignment submit page 2014-06-24 20:05:10 +00:00
supercalc.js fix formula question labelling and accessibility 2013-08-30 21:06:07 +00:00
take_quiz.js Numerical input fields now handle commas properly 2014-09-02 22:01:44 +00:00
timezone.js fix loading and initialization of tz 2014-03-13 20:16:38 +00:00
timezone_core.js convert 12-hour format strings when %P is blank 2014-08-19 20:19:17 +00:00
timezone_plugin.js apply dual timezone filters 2014-05-23 19:01:34 +00:00
tinymce.editor_box.js This changes and reorganizes all of our css structure. It starts 2014-07-25 19:58:40 +00:00
tool_inline.js add lti2 models and registration endpoints 2014-07-18 16:42:10 +00:00
tricktiny.js upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
underscore.flattenObjects.js discussions: handle keyboard shortcuts 2014-01-08 00:39:17 +00:00
underscore.js lodash 2014-01-14 23:37:26 +00:00
user.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
user_logins.js Fix password-validation errors not showing up 2013-12-03 17:24:25 +00:00
user_name.js accessibility on user detail's dialogs 2013-11-08 18:25:52 +00:00
user_notes.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
user_sortable_name.js require -> define in public/javascripts 2012-03-05 14:19:50 -07:00
user_utils.js make jslint settings more sane 2012-08-17 11:04:40 -06:00
wiki.js goodbye, $.parseFromISO 2014-03-27 17:28:27 +00:00
wikiSidebar.js stop offering to preview unsupported filetypes 2014-05-21 21:09:22 +00:00