Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1211,8 +1211,6 @@ $("document").ready(function () {


$("#1_where_live").change(function () {
//var version = $().jquery;
//alert("jquery version="+version);
if ($("#1_where_live").val() == "OTH") {
$("#1_where_live_other").attr("disabled", "");
$("#1_where_live_other").val("");
Expand Down Expand Up @@ -2850,8 +2848,6 @@ $("document").ready(function () {

});


//$("#serviceUseRecord_orgLHIN")
});

$("document").ready(function () {
Expand Down Expand Up @@ -3184,8 +3180,6 @@ function submitOcanForm() {
}
}


//medication_1_se_description
var medicationFailed = false;
$("input[value='410515003']").each(function () {
if (medicationFailed) {
Expand Down
4 changes: 1 addition & 3 deletions src/main/webapp/casemgmt/noteProgram.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ var _setupProgramList = function () {
jQuery(programList).empty();
for (var p = 0; p < data.programs.length; p++) {
_programRoleMap[data.programs[p].programNo] = data.programs[p].roleAccess;
//if (data.programs[p].programName.endsWith("(discharged)"))
// data.programs[p].programName = data.programs[p].programName.substring(0, data.programs[p].programName.indexOf("(discharged)") - 1)
jQuery(programList).append(
jQuery("<option></option>")
.attr("value", data.programs[p].programNo)
Expand Down Expand Up @@ -340,4 +338,4 @@ var _setCurrentProgramAndRoleIdForNote = function (noteId) {

if (typeof console != "undefined")
console.log("Setting program_no=" + programNo + ", role_id=" + roleId);
};
};
12 changes: 1 addition & 11 deletions src/main/webapp/colorpicker/colormethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,6 @@ Refresh.Web.ColorMethods = {

var r = '00', g = '00', b = '00';

/*
if (hex.length == 3) {
r = hex.substring(0,1);
g = hex.substring(1,2);
b = hex.substring(2,3);
} else if (hex.length == 6) {
r = hex.substring(0,2);
g = hex.substring(2,4);
b = hex.substring(4,6);
*/
if (hex.length == 6) {
r = hex.substring(0, 2);
g = hex.substring(2, 4);
Expand Down Expand Up @@ -263,4 +253,4 @@ Refresh.Web.ColorMethods = {

return rgb;
}
};
};
6 changes: 0 additions & 6 deletions src/main/webapp/colorpicker/colorpicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Refresh.Web.ColorPicker.prototype = {
this._redRadio = $(this.id + '_RedRadio');
this._greenRadio = $(this.id + '_GreenRadio');
this._blueRadio = $(this.id + '_BlueRadio');
//this._webSafeCheck = $(this.id + '_WebSafeCheck');

this._hueRadio.value = 'h';
this._saturationRadio.value = 's';
Expand All @@ -49,9 +48,6 @@ Refresh.Web.ColorPicker.prototype = {
Event.observe(this._greenRadio, 'click', this._event_onRadioClicked);
Event.observe(this._blueRadio, 'click', this._event_onRadioClicked);

//this._event_webSafeClicked = this._onWebSafeClicked.bindAsEventListener(this);
//Event.observe( this._webSafeCheck, 'click', this._event_webSafeClicked);


// attach simple properties
this._preview = $(this.id + '_Preview');
Expand Down Expand Up @@ -314,8 +310,6 @@ Refresh.Web.ColorPicker.prototype = {
this.setImg(this._barL2, this.settings.clientFilesPath + 'bar-blue-br.png');
this.setImg(this._barL1, this.settings.clientFilesPath + 'bar-blue-bl.png');

//this.setImg(this._barL4, this.settings.clientFilesPath + 'bar-hue.png');

break;

default:
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/colorpicker/prototype.js
Original file line number Diff line number Diff line change
Expand Up @@ -4285,4 +4285,4 @@ Object.extend(Element.ClassNames.prototype, Enumerable);

/*--------------------------------------------------------------------------*/

Element.addMethods();
Element.addMethods();
2 changes: 0 additions & 2 deletions src/main/webapp/colorpicker/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,5 +270,3 @@ Refresh.Web.Slider.prototype = {
}

}


1 change: 0 additions & 1 deletion src/main/webapp/commons/scripts/sort_table/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@ function getEventTarget(e) {

return targ;
}

2 changes: 1 addition & 1 deletion src/main/webapp/commons/scripts/sort_table/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ var css = {

el.className = this.privateCreateClassString(classArray);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ var standardistaTableSorting = {

// the column we want is indicated by td.cellIndex
var column = linkEl.getAttribute('columnId') || td.cellIndex;
//var column = td.cellIndex;

// find out what the current sort order of this column is
var arrows = css.getElementsByClass(td, 'tableSortArrow', 'span');
Expand Down Expand Up @@ -379,4 +378,4 @@ function standardistaTableSortingInit() {
standardistaTableSorting.init();
}

addEvent(window, 'load', standardistaTableSortingInit)
addEvent(window, 'load', standardistaTableSortingInit)
1 change: 0 additions & 1 deletion src/main/webapp/documentManager/showDocument.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ function setupDemoAutoCompletion(docId, contextPath) {
});
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -824,4 +824,4 @@ jQuery(window).on('load', function () {
}).appendTo("form[method='POST']");
})
}
})
})
2 changes: 1 addition & 1 deletion src/main/webapp/form/eCARES/dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -931,4 +931,4 @@ const ECGA_SCORE = ECGA_DICTIONARY.filter(d => {
}

return false
})
})
1 change: 0 additions & 1 deletion src/main/webapp/form/eCARES/eCARES_v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ function renderGraph() {
}

$(document).ready(function ($) {
// audit();
handleFallsNumber();
const contextPath = $("#contextPath").html();
const formId = $('input[name="formId"]').val();
Expand Down
18 changes: 2 additions & 16 deletions src/main/webapp/form/formScripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,36 +327,22 @@ function isFormCompleted(startEle, endEle, nbCheck, nbText) {
var countCheck = 0;
var countText = 0;
var confirmed = true;
//var nbItems = endEle - startEle + 1;
//var emptyFields = new Array(nbItems);
//var index = 0;

for (var i = startEle; i <= endEle; i++) {
//document.forms[0].elements[i].style.backgroundColor='white';
if (document.forms[0].elements[i].type == "checkbox") {
if (document.forms[0].elements[i].checked == true) {
countCheck++;
}
//else{
// emptyFields[index] = i;
// index++;
//}
} else if (document.forms[0].elements[i].type == "text") {
if (document.forms[0].elements[i].value != null) {
var text = trim(document.forms[0].elements[i].value);
if (text.length != 0)
countText++;
}
//else{
// emptyFields[index] = i;
// index++;
//}
}
}
if (countCheck < nbCheck || countText < nbText) {
//for(var i=0; i<emptyFields.length; i++){
// document.forms[0].elements[emptyFields[i]].style.backgroundColor='yellow';
//}
confirmed = confirm("You have not filled in all the question(s). Are you sure you want to continue?");
}
return confirmed;
}
}
2 changes: 1 addition & 1 deletion src/main/webapp/hcHandler/hcHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ HealthCardHandler.prototype.readKeyBuffer = function () {
this.lastReadSucess = true;
this.prevHc = hcParts;
this.keyBufferHandler(hcParts);
}
}
89 changes: 0 additions & 89 deletions src/main/webapp/hcHandler/hcHandlerSearch.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/webapp/hospitalReportManager/hrmActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ function setupHrmDemoAutoCompletion(docId, csrfToken) {
}
});
}
}
}
3 changes: 1 addition & 2 deletions src/main/webapp/hospitalReportManager/inbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ function updateProviderFilter() {

$("#libraryTable").DataTable().ajax.reload();

//alert(providerNoVal + "\n" + providerUnmatchedVal);
}

function reloadTable() {
Expand Down Expand Up @@ -204,4 +203,4 @@ function getHrmStatus() {
}
});

}
}
1 change: 0 additions & 1 deletion src/main/webapp/js/AlphaTextBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ dojo.widget.defineWidget(
return dojo.validate.isText(this.textbox.value, this.flags) && this.textbox.value.match('[^0-9]');
}
})

1 change: 0 additions & 1 deletion src/main/webapp/js/DT_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ if ($.fn.DataTable.TableTools) {
}
});
}

Loading