Commit a538a8dad485115ecd70a2793c3dd4258a52e7b8
Bug fix
- Fixing jQuery selector for selecting a checked radio button, due to old/wrong syntax a narrator was unable to publish narration.
| | | | 373 | | 373 | |
---|
374 | publish:function (){ | 374 | publish:function (){ |
---|
375 | var result; | 375 | var result; |
---|
376 | if ($('#loc-select').val() == '' || $('#lang-select').val() == '' || $('#auth-select').val() == '' || ($('#your-check').attr('checked') == undefined && $('#our-check').attr('checked') == undefined )) { | | if ($('#loc-select').val() == '' || $('#lang-select').val() == '' || $('#auth-select').val() == '' || ($('#your-check').attr('checked') == undefined && $('#our-check').attr('checked') == undefined )) { |
---|
| | 376 | if ($('#loc-select').val() == '' || $('#lang-select').val() == '' || $('input:checked') == undefined) { | 377 | alert("please furnish all the details"); | 377 | alert("please furnish all the details"); |
---|
378 | } else { | 378 | } else { |
---|
379 | if($('#your-check').attr('checked') != undefined) | | if($('#your-check').attr('checked') != undefined) |
---|
| | 379 | if($('input:checked') == $("#your-check")) | 380 | { | 380 | { |
---|
381 | localStorage.myContent = util.buildDataString(); | 381 | localStorage.myContent = util.buildDataString(); |
---|
382 | window.location.href = "http://dev.a11y.in/test.html"; | 382 | window.location.href = "http://dev.a11y.in/test.html"; |
---|