portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r774388 - in /portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view: database-edit.vm database-edit1.vm
Date Wed, 13 May 2009 14:56:28 GMT
Author: vkumar
Date: Wed May 13 14:56:27 2009
New Revision: 774388

URL: http://svn.apache.org/viewvc?rev=774388&view=rev
Log:
Fixing Database Browser Edit Mode Save Fails
http://issues.apache.org/jira/browse/APA-11

Modified:
    portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit.vm
    portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit1.vm

Modified: portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit.vm
URL: http://svn.apache.org/viewvc/portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit.vm?rev=774388&r1=774387&r2=774388&view=diff
==============================================================================
--- portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit.vm
(original)
+++ portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit.vm
Wed May 13 14:56:27 2009
@@ -18,13 +18,10 @@
 #set ($dst = $prefsMap.get('DatasourceType'))
 #set ($disableDS = "disabled")
 #set ($disableDBCP = "disabled")
-#set ($disableSSO = "disabled")
 #if ($!dst == 'jndi')
 #set ($disableDS = "")
 #elseif ($!dst == 'dbcp')
 #set ($disableDBCP = "")
-#elseif ($!dst == 'sso')
-#set ($disableSSO = "")
 #end
 
 #set($name=$renderResponse.Namespace)
@@ -165,16 +162,16 @@
 
   function presave()
   {
+    document.J2DBEdit${name}.configPage.value = 'save';
     #if($tableLists)
-	var tables = document.getElementById('tables');
+	var tables = document.getElementById('tables${name}');
 	document.J2DBEdit${name}.tableName.value = tables.options[tables.selectedIndex].value;
 	#else
-	var tables = document.getElementById('tables');
+	var tables = document.getElementById('tables${name}');
 	document.J2DBEdit${name}.tableName.value = tables.value;
 	#end
     disableDS(false);
     disableDBCP(false);
-    disableSSO(false);
   }
 
 </script>
\ No newline at end of file

Modified: portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit1.vm
URL: http://svn.apache.org/viewvc/portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit1.vm?rev=774388&r1=774387&r2=774388&view=diff
==============================================================================
--- portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit1.vm
(original)
+++ portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/view/database-edit1.vm
Wed May 13 14:56:27 2009
@@ -18,13 +18,10 @@
 #set ($dst = $prefsMap.get('DatasourceType'))
 #set ($disableDS = "disabled")
 #set ($disableDBCP = "disabled")
-#set ($disableSSO = "disabled")
 #if ($!dst == 'jndi')
 #set ($disableDS = "")
 #elseif ($!dst == 'dbcp')
 #set ($disableDBCP = "")
-#elseif ($!dst == 'sso')
-#set ($disableSSO = "")
 #end
 
 #set($name=$renderResponse.Namespace)



Mime
View raw message