aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/index.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 07:12:04 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 07:12:04 +0000
commit51f2b120faf78b7224a42b769cb99c2620ae9030 (patch)
treed6ef60622c5037823a64ac027dd7b9a47a9ac08e /mod/diagnostics/index.php
parent1702fd784aace9f5d78dd252b89185a13f195aaa (diff)
downloadelgg-51f2b120faf78b7224a42b769cb99c2620ae9030.tar.gz
elgg-51f2b120faf78b7224a42b769cb99c2620ae9030.tar.bz2
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
Diffstat (limited to 'mod/diagnostics/index.php')
-rw-r--r--mod/diagnostics/index.php2
1 files changed, 1 insertions, 1 deletions
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 .= "<p>" . elgg_echo('diagnostics:unittester:warning') . "</p>";
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