You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/03/19 13:14:04 UTC

git commit: Core: Disabled AJAX form sending for new firewall rule form

Updated Branches:
  refs/heads/master 89b0c4244 -> cfd6dcb5c


Core: Disabled AJAX form sending for new firewall rule form


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/cfd6dcb5
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/cfd6dcb5
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/cfd6dcb5

Branch: refs/heads/master
Commit: cfd6dcb5c9cdfcc6f712272da93ad0fe86c8c98c
Parents: 89b0c42
Author: Michal Fojtik <mf...@redhat.com>
Authored: Mon Mar 19 13:14:48 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Mon Mar 19 13:14:48 2012 +0100

----------------------------------------------------------------------
 server/views/firewalls/new_rule.html.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/cfd6dcb5/server/views/firewalls/new_rule.html.haml
----------------------------------------------------------------------
diff --git a/server/views/firewalls/new_rule.html.haml b/server/views/firewalls/new_rule.html.haml
index 1cba509..cfa3cef 100644
--- a/server/views/firewalls/new_rule.html.haml
+++ b/server/views/firewalls/new_rule.html.haml
@@ -1,7 +1,7 @@
 =header "New firewall rule"
 
 %div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog', :id => "new_rule_form"}
-  %form{ :action => "#{firewall_url(@firewall_name)}/rules", :method => :post}
+  %form{ :action => "#{firewall_url(@firewall_name)}/rules", :method => :post,  :'data-ajax' => 'false'}
     %div{ 'data-role' => :fieldcontain }
       %label{ :for => :name} Protocol:
       %input{ :type => :text, :id => :protocol, :name => :protocol, :value => '', :size => 10 }