[Vtigercrm-commits] [vtiger-commits] r9701 - /vtigercrm/branches/5.0.2/modules/Calendar/addEventUI.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 26 07:46:09 EDT 2006


Author: richie
Date: Thu Oct 26 05:46:06 2006
New Revision: 9701

Log:
changes made to fix the issue 1380  --Minnie

Modified:
    vtigercrm/branches/5.0.2/modules/Calendar/addEventUI.php

Modified: vtigercrm/branches/5.0.2/modules/Calendar/addEventUI.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/Calendar/addEventUI.php (original)
+++ vtigercrm/branches/5.0.2/modules/Calendar/addEventUI.php Thu Oct 26 05:46:06 2006
@@ -202,8 +202,8 @@
 	<input type="hidden" name="subtab" value="">
 	<input type="hidden" name="maintab" value="Calendar">
 		<table border=0 cellspacing=0 cellpadding=5 width=100% class="layerHeadingULine">
-		<tr>
-			<td class="layerPopupHeading"><?php echo $mod_strings['LBL_ADD_EVENT']?></b></td>
+		<tr style="cursor:move;">
+			<td class="layerPopupHeading" id="moveEvent"><?php echo $mod_strings['LBL_ADD_EVENT']?></b></td>
 				<td align=right><a href="javascript:ghide('addEvent');"><img src="<?php echo $image_path ?>close.gif" border="0"  align="absmiddle" /></a></td>
 		</tr>
 		</table>
@@ -669,8 +669,8 @@
   <input type="hidden" name="subtab" value="">
   <input type="hidden" name="maintab" value="Calendar">
 	<table border=0 cellspacing=0 cellpadding=5 width=100% class="layerHeadingULine">
-		<tr>
-                	<td class="lvtHeaderText"><?php echo $mod_strings['LBL_ADD_TODO'] ?></b></td>
+		<tr style="cursor:move;">
+                	<td class="lvtHeaderText" id="moveTodo"><?php echo $mod_strings['LBL_ADD_TODO'] ?></b></td>
 			<td align=right><a href="javascript:ghide('createTodo');"><img src="<?php echo $image_path ?>close.gif" border="0"  align="absmiddle" /></a></td>
 		</tr>
         </table>
@@ -902,4 +902,14 @@
                 </tr>
         </table>
 </div>
-
+<script>
+	//for move addEventUI
+	var theEventHandle = document.getElementById("moveEvent");
+	var theEventRoot   = document.getElementById("addEvent");
+	Drag.init(theEventHandle, theEventRoot);
+
+	//for move addToDo
+	var theTodoHandle = document.getElementById("moveTodo");
+	var theTodoRoot   = document.getElementById("createTodo");
+	Drag.init(theTodoHandle, theTodoRoot);
+</script>





More information about the vtigercrm-commits mailing list