Browse Source

Enable Asset timestamp for image submit buttons.

Conflicts:

	lib/Cake/View/Helper/FormHelper.php
Johannes N 14 years ago
parent
commit
30504ef32b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/View/Helper/FormHelper.php

+ 1 - 0
lib/Cake/View/Helper/FormHelper.php

@@ -1638,6 +1638,7 @@ class FormHelper extends AppHelper {
 			} else {
 				$url = $this->webroot(trim($caption, '/'));
 			}
+			$url = $this->assetTimestamp($url);
 			$tag = $this->Html->useTag('submitimage', $url, $options);
 		} else {
 			$options['value'] = $caption;