|
Lines 1-6
Link Here
|
| 1 |
$(document).ready(function() { |
1 |
$(document).ready(function() { |
| 2 |
window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerHTML; |
2 |
window.modaction_legend_innerhtml = $("#modaction_legend").text(); |
| 3 |
window.action_submit_value = document.getElementById('action_submit').value; |
3 |
window.action_submit_value = $("#action_submit").text(); |
| 4 |
|
4 |
|
| 5 |
$('#select_template').find("input:submit").hide(); |
5 |
$('#select_template').find("input:submit").hide(); |
| 6 |
$('#select_template').change(function() { |
6 |
$('#select_template').change(function() { |
|
Lines 68-74
$(document).ready(function() {
Link Here
|
| 68 |
|
68 |
|
| 69 |
$("#duplicate_a_template").on("change",function(e){ |
69 |
$("#duplicate_a_template").on("change",function(e){ |
| 70 |
e.preventDefault(); |
70 |
e.preventDefault(); |
| 71 |
if( this.value == '' ){ |
71 |
if( this.value === '' ){ |
| 72 |
$("#duplicate_current_template").val(""); |
72 |
$("#duplicate_current_template").val(""); |
| 73 |
} else { |
73 |
} else { |
| 74 |
$("#duplicate_current_template").val(1); |
74 |
$("#duplicate_current_template").val(1); |
| 75 |
- |
|
|