Commit d1b5d85b21c31d6e100b1407656850090dff16d8

Authored by David RENÉ
1 parent fe4ac56c

replace aws_controller and aws_action by aws_c and aws_a (no functional change)

Showing 1 changed file with 9 additions and 10 deletions   Show diff stats
@@ -84,9 +84,9 @@ public define String @@ -84,9 +84,9 @@ public define String
84 { 84 {
85 no_action then "", //will use the default action defined in form 85 no_action then "", //will use the default action defined in form
86 controller_action(ctrl, action) then 86 controller_action(ctrl, action) then
87 - "$('#"+form+"').get(0).setAttribute('action','/?aws_controller="+ctrl+"&aws_action="+action+format_extra_operands(extra_ops)+"');\n" 87 + "$('#"+form+"').get(0).setAttribute('action','/?aws_c="+ctrl+"&aws_a="+action+format_extra_operands(extra_ops)+"');\n"
88 action_name(action) then 88 action_name(action) then
89 - "$('#"+form+"').get(0).setAttribute('action','/?aws_action="+action+"');", 89 + "$('#"+form+"').get(0).setAttribute('action','/?aws_a="+action+"');",
90 url(url) then 90 url(url) then
91 "$('#"+form+"').get(0).setAttribute('action','"+url+"');", 91 "$('#"+form+"').get(0).setAttribute('action','"+url+"');",
92 }+ 92 }+
@@ -97,8 +97,8 @@ public define String @@ -97,8 +97,8 @@ public define String
97 if control_action is 97 if control_action is
98 { 98 {
99 no_action then "", 99 no_action then "",
100 - controller_action(ctrl, action) then "document.location='/?aws_controller="+ctrl+"&aws_action="+action+format_extra_operands(extra_ops)+"';",  
101 - action_name(action) then "document.location='/?aws_action="+action+"';", 100 + controller_action(ctrl, action) then "document.location='/?aws_c="+ctrl+"&aws_a="+action+format_extra_operands(extra_ops)+"';",
  101 + action_name(action) then "document.location='/?aws_a="+action+"';",
102 url(url) then "document.location='"+url+"';", 102 url(url) then "document.location='"+url+"';",
103 } 103 }
104 jqflink(link) then "document.location='"+link+"';", 104 jqflink(link) then "document.location='"+link+"';",
@@ -126,8 +126,8 @@ public define String @@ -126,8 +126,8 @@ public define String
126 if control_action is 126 if control_action is
127 { 127 {
128 no_action then "", 128 no_action then "",
129 - controller_action(ctrl, action) then "document.location='/?aws_controller="+ctrl+"&aws_action="+action+format_extra_operands(extra_ops)+"';",  
130 - action_name(action) then "document.location='/?aws_action="+action+format_extra_operands(extra_ops)+"';", 129 + controller_action(ctrl, action) then "document.location='/?aws_c="+ctrl+"&aws_a="+action+format_extra_operands(extra_ops)+"';",
  130 + action_name(action) then "document.location='/?aws_a="+action+format_extra_operands(extra_ops)+"';",
131 url(url) then "document.location='"+url+"';", 131 url(url) then "document.location='"+url+"';",
132 } 132 }
133 jqflink(link) then "document.location='"+link+"';", 133 jqflink(link) then "document.location='"+link+"';",
@@ -142,9 +142,9 @@ public define String @@ -142,9 +142,9 @@ public define String
142 { 142 {
143 no_action then "", //will use the default action defined in form 143 no_action then "", //will use the default action defined in form
144 controller_action(ctrl, action) then 144 controller_action(ctrl, action) then
145 - "$('#"+form+"').get(0).setAttribute('action','/?aws_controller="+ctrl+"&aws_action="+action+format_extra_operands(extra_ops)+"');\n" 145 + "$('#"+form+"').get(0).setAttribute('action','/?aws_c="+ctrl+"&aws_a="+action+format_extra_operands(extra_ops)+"');\n"
146 action_name(action) then 146 action_name(action) then
147 - "$('#"+form+"').get(0).setAttribute('action','/?aws_action="+action+"');", 147 + "$('#"+form+"').get(0).setAttribute('action','/?aws_a="+action+"');",
148 url(url) then 148 url(url) then
149 "$('#"+form+"').get(0).setAttribute('action','"+url+"');", 149 "$('#"+form+"').get(0).setAttribute('action','"+url+"');",
150 }+ 150 }+
@@ -156,8 +156,7 @@ public define String @@ -156,8 +156,7 @@ public define String
156 { 156 {
157 no_action then "", 157 no_action then "",
158 controller_action(ctrl, action) then 158 controller_action(ctrl, action) then
159 - "window.open('aws_controller="+ctrl+"&aws_action="+action+format_extra_operands(extra_ops)+"', '"+window_name+"', '"+jquery_button_get_onclick_action_window_options(window_options, "")+"');",  
160 - //"document.location='/?aws_controller="+ctrl+"&aws_action="+action+"';", 159 + "window.open('aws_c="+ctrl+"&aws_a="+action+format_extra_operands(extra_ops)+"', '"+window_name+"', '"+jquery_button_get_onclick_action_window_options(window_options, "")+"');",
161 action_name(action) then 160 action_name(action) then
162 "window.open('"+action+format_extra_operands(extra_ops)+"', '"+window_name+"', '"+jquery_button_get_onclick_action_window_options(window_options, "")+"');", 161 "window.open('"+action+format_extra_operands(extra_ops)+"', '"+window_name+"', '"+jquery_button_get_onclick_action_window_options(window_options, "")+"');",
163 url(url) then "document.location='"+url+"';", 162 url(url) then "document.location='"+url+"';",