aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml
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/ecml
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/ecml')
-rw-r--r--mod/ecml/views/default/embed/web_services/content.php4
1 files changed, 2 insertions, 2 deletions
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');