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/ecml/views/default/embed/web_services/content.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/ecml/views/default/embed') diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php index 5c46dfad4..b609db448 100644 --- a/mod/ecml/views/default/embed/web_services/content.php +++ b/mod/ecml/views/default/embed/web_services/content.php @@ -40,7 +40,7 @@ $input = elgg_view('input/text', array( 'internalid' => 'web_services_resource' )); -$embed = elgg_view('input/button', array( +$embed = elgg_view('input/submit', array( 'name' => 'buggy', 'internalid' => 'embed_submit', 'type' => 'button', @@ -109,7 +109,7 @@ $(function() { var value = $(this).val(); var value_length = value.length; - + if (value_length > 0) { //embed_button.removeAttr('disabled').removeClass('disabled');//.addClass('embed_warning'); url_status.removeClass('success').addClass('failure'); -- cgit v1.2.3