[Vtigercrm-commits] [vtiger-commits] r11113 - /vtigercrm/branches/5.0.3/Smarty/templates/Migration.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 29 03:32:47 EDT 2007


Author: richie
Date: Tue May 29 01:32:44 2007
New Revision: 11113

Log:
* Changed the Cancel button from submit to button type and change the onclick so that when we click on cancel previous page will be loaded instead of settings index page

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/Migration.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/Migration.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Migration.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Migration.tpl Tue May 29 01:32:44 2007
@@ -104,7 +104,7 @@
 					   <tr>
 						<td colspan="2" style="padding:10px;" align="center">
 							<input type="submit" name="migrate" value="  {$MOD.LBL_MIGRATE_BUTTON}  "  class="crmbutton small save" onclick="return getConfirmation('{$CURRENT_VERSION}');"/>
-							&nbsp;<input type="submit" name="cancel" value=" &nbsp;{$MOD.LBL_CANCEL_BUTTON}&nbsp; "  class="crmbutton small cancel" onclick="this.form.module.value='Settings';this.form.action.value='index';"/>
+							&nbsp;<input type="button" name="cancel" value=" &nbsp;{$MOD.LBL_CANCEL_BUTTON}&nbsp; "  class="crmbutton small cancel" onClick="window.history.back();"/>
  						</td>
 					   </tr>
 					</table>





More information about the vtigercrm-commits mailing list