Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
611118a9
Commit
611118a9
authored
Sep 21, 2011
by
stef
Browse files
[fix] confirm button on index not a link, but button
parent
76839f2b
Changes
1
Show whitespace changes
Inline
Side-by-side
templates/index.html
View file @
611118a9
...
@@ -77,8 +77,8 @@ $(document).ready(function(){
...
@@ -77,8 +77,8 @@ $(document).ready(function(){
+
"
-h6,hr[size|noshade],dd,dl,dt,cite,abbr,acronym,
"
+
"
-h6,hr[size|noshade],dd,dl,dt,cite,abbr,acronym,
"
+
"
del[datetime|cite],ins[datetime|cite]
"
,
+
"
del[datetime|cite],ins[datetime|cite]
"
,
});
});
$
(
"
.confirm
> .button
"
).
click
(
function
(){
$
(
"
.confirm
"
).
click
(
function
(){
$
(
this
).
parent
().
parent
().
parent
().
find
(
'
.info-validate
'
).
toggle
();
$
(
this
).
parent
().
parent
().
find
(
'
.info-validate
'
).
toggle
();
});
});
$
(
"
.cancel-button
"
).
click
(
function
(){
$
(
"
.cancel-button
"
).
click
(
function
(){
$
(
this
).
parent
().
parent
().
hide
();
$
(
this
).
parent
().
parent
().
hide
();
...
@@ -137,12 +137,12 @@ $(document).ready(function(){
...
@@ -137,12 +137,12 @@ $(document).ready(function(){
<input
type=
"text"
name=
"email"
/>
<input
type=
"text"
name=
"email"
/>
<input
type=
"hidden"
value=
"{{ violation.pk }}"
/>
<input
type=
"hidden"
value=
"{{ violation.pk }}"
/>
<input
type=
"submit"
value=
"{% trans "
confirm
"
%}"
/>
<input
type=
"submit"
value=
"{% trans "
confirm
"
%}"
/>
<input
class=
"cancel-button"
type=
"button"
value=
"{% trans "
cancel
"
%}"
/>
<input
class=
"cancel-button
button
"
type=
"button"
value=
"{% trans "
cancel
"
%}"
/>
</form>
</form>
</div>
</div>
</td>
</td>
<td
class=
'align-right'
>
{{ violation.confirmations }}
</td>
<td
class=
'align-right'
>
{{ violation.confirmations }}
</td>
<td
class=
'align-right'
><
div
class=
"confirm"
><a
class=
"button"
>
confirm
</a></div
>
<td
class=
'align-right'
><
input
type=
"button"
class=
"confirm button"
value=
"confirm"
/
>
</td>
</td>
</tr>
</tr>
{% endfor %}
{% endfor %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment