+
-
+
-
diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml
index 3b1bc05..059c316 100644
--- a/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,10 +1,8 @@
-
-
+
-
diff --git a/WebContent/html/javascript/iconselect.js-1.0/lib/control/iconselect.js b/WebContent/html/javascript/iconselect.js-1.0/lib/control/iconselect.js
index 3939777..7aff837 100644
--- a/WebContent/html/javascript/iconselect.js-1.0/lib/control/iconselect.js
+++ b/WebContent/html/javascript/iconselect.js-1.0/lib/control/iconselect.js
@@ -114,6 +114,7 @@ function IconSelect($$elementID, $$parameters) {
_View.selectedIconImgElement.setAttribute('src', icon.iconFilePath);
if(_selectedIndex != -1) _icons[_selectedIndex].element.setAttribute('class','icon selected');
if(_selectedIndex != -1) $('#profimg').attr("src","../imgs/my-icons-collection-128px/png/" + icon.iconValue + ".png");
+ if(_selectedIndex != -1) $('#hiddenIMG').val(icon.iconValue);
}
_View.iconSelectElement.dispatchEvent(new Event('changed'));
diff --git a/WebContent/html/webpages/profileSettings.jsp b/WebContent/html/webpages/profileSettings.jsp
index a17f077..b2cca18 100644
--- a/WebContent/html/webpages/profileSettings.jsp
+++ b/WebContent/html/webpages/profileSettings.jsp
@@ -97,27 +97,28 @@
-
+
+
+
+
+
+
+ Redirect Page
+ You shouldn't be seeing this page :)
+
+<%
+//make instance
+MySQLAccess myaccess = new MySQLAccess();
+String name = request.getParameter("name").replace("\"","\\\"");
+int id = Integer.parseInt(request.getParameter("sso"));
+String phone = request.getParameter("phone");
+String email = request.getParameter("email");
+int img = Integer.parseInt(request.getParameter("img"));
+
+//change form was submitted
+if(request.getParameter("profile") != null){
+ EmployeeQueries.updateEmployee(id, name, img, phone, email);
+}
+
+%>
+
+
+
+