Commit a538a8dad485115ecd70a2793c3dd4258a52e7b8
- Diff rendering mode:
- inline
- side by side
alipi/wsgi/pageEditor.js
(2 / 2)
  | |||
373 | 373 | ||
374 | 374 | publish:function (){ | |
375 | 375 | var result; | |
376 | 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 | 377 | alert("please furnish all the details"); | |
378 | 378 | } else { | |
379 | if($('#your-check').attr('checked') != undefined) | ||
379 | if($('input:checked') == $("#your-check")) | ||
380 | 380 | { | |
381 | 381 | localStorage.myContent = util.buildDataString(); | |
382 | 382 | window.location.href = "http://dev.a11y.in/test.html"; |