Commit cc041cac00ffc02e7495de7e8380ca65ff88e89a
1 parent
d81ca807
Fixed delete protection JS
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5461 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
resources/js/kt-utility.js
| ... | ... | @@ -61,10 +61,10 @@ function initDeleteProtection(m) { |
| 61 | 61 | var fn = confirmDelete; |
| 62 | 62 | message = m; |
| 63 | 63 | |
| 64 | - var elements = getElementsByTagAndClassName('A','ktDelete'); | |
| 64 | + var elements = getElementsByTagAndClassName(null,'ktDelete'); | |
| 65 | 65 | forEach(elements, partial(setClickFunction, fn)); |
| 66 | 66 | |
| 67 | - elements = getElementsByTagAndClassName('A','ktLinkDelete'); | |
| 67 | + elements = getElementsByTagAndClassName(null,'ktLinkDelete'); | |
| 68 | 68 | forEach(elements, partial(setClickFunction, fn)); |
| 69 | 69 | } |
| 70 | 70 | ... | ... |