[pLog-svn] r5718 - in plog/trunk: js/location templates/admin/chooser

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Jul 25 04:19:13 EDT 2007


Author: oscar
Date: 2007-07-25 04:19:13 -0400 (Wed, 25 Jul 2007)
New Revision: 5718

Modified:
   plog/trunk/js/location/location.js
   plog/trunk/templates/admin/chooser/header.template
Log:
Some fixes for the location chooser, although it will be rewritten to use the new nicer overlays rather than pop-up windows and iframes.


Modified: plog/trunk/js/location/location.js
===================================================================
--- plog/trunk/js/location/location.js	2007-07-25 06:27:42 UTC (rev 5717)
+++ plog/trunk/js/location/location.js	2007-07-25 08:19:13 UTC (rev 5718)
@@ -291,9 +291,9 @@
 	window.alert( message );	
 	
 	// get the id of the updated location from the response message
-	var locId = msg.location.id;
+	var locId = msg.result.id;
 	// and the description
-	var locDesc = msg.location.desc;
+	var locDesc = msg.result.desc;
 	
 	// get the list that holds the locations and if it's there, then 
 	// update the one that we just moved around
@@ -338,9 +338,9 @@
 	}
 	
 	// get the id of the updated location from the response message
-	var locId = msg.location.id;
+	var locId = msg.result.id;
 	// and the description
-	var locDesc = msg.location.desc;
+	var locDesc = msg.result.desc;
 	
 	// get the list that holds the locations and if it's there, then 
 	// update the one that we just moved around

Modified: plog/trunk/templates/admin/chooser/header.template
===================================================================
--- plog/trunk/templates/admin/chooser/header.template	2007-07-25 06:27:42 UTC (rev 5717)
+++ plog/trunk/templates/admin/chooser/header.template	2007-07-25 08:19:13 UTC (rev 5718)
@@ -14,6 +14,7 @@
   <script type="text/javascript" src="js/yui/connection/connection-min.js"></script>
   <!-- LifeType UI Library -->
   <script type="text/javascript" src="js/ui/core.js"></script>
+  <script type="text/javascript" src="js/ui/ui.js"></script>
   <script type="text/javascript" src="js/ui/tableeffects.js"></script>
   <script type="text/javascript" src="js/ui/common.js"></script>
   <script type="text/javascript" src="js/ui/forms.js"></script>
@@ -22,4 +23,4 @@
    var indexPage = '{$config->getValue("script_name")}';
   </script>
 </head>
-<body>
\ No newline at end of file
+<body>



More information about the pLog-svn mailing list