From 51f2b120faf78b7224a42b769cb99c2620ae9030 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 20 Nov 2010 07:12:04 +0000 Subject: Refs #2143: DRY up button input views (button, reset, submit). Changed core uses of button to reflect the fact that it no longer defaults to submit git-svn-id: http://code.elgg.org/elgg/trunk@7364 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/diagnostics/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/diagnostics') diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php index c7a5cd4b1..ad77b5085 100644 --- a/mod/diagnostics/index.php +++ b/mod/diagnostics/index.php @@ -25,7 +25,7 @@ $test_body .= "

" . elgg_echo('diagnostics:unittester:warning') . "

"; if (isset($CONFIG->debug)) { // create a button to run tests $js = "onclick=\"window.location='".elgg_get_site_url()."engine/tests/suite.php'\""; - $params = array('type' => 'button', 'value' => elgg_echo('diagnostics:test:executeall'), 'js' => $js); + $params = array('value' => elgg_echo('diagnostics:test:executeall'), 'js' => $js); $test_body .= elgg_view('input/button', $params); } else { // no tests when not in debug mode -- cgit v1.2.3