mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
Fix #2410 add "Delete" button to krzip search form
This commit is contained in:
parent
123a83cbd8
commit
bee30c0c40
3 changed files with 15 additions and 9 deletions
|
|
@ -15,7 +15,8 @@
|
||||||
<div class="krzip-postcode-wrap">
|
<div class="krzip-postcode-wrap">
|
||||||
<label>{$lang->cmd_krzip_postcode}</label>
|
<label>{$lang->cmd_krzip_postcode}</label>
|
||||||
<input type="text" class="krzip-postcode" value="{$template_config->values[0]}" disabled="disabled" />
|
<input type="text" class="krzip-postcode" value="{$template_config->values[0]}" disabled="disabled" />
|
||||||
<input type="button" class="krzip-search btn" value="{$lang->cmd_search}" />
|
<button type="button" class="krzip-search btn">{$lang->cmd_search}</button>
|
||||||
|
<button type="button" class="krzip-delete btn">{$lang->cmd_delete}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="krzip-address-wrap">
|
<div class="krzip-address-wrap">
|
||||||
<label>{$lang->cmd_krzip_address}</label>
|
<label>{$lang->cmd_krzip_address}</label>
|
||||||
|
|
@ -32,9 +33,10 @@
|
||||||
|
|
||||||
<!--// FOOTER -->
|
<!--// FOOTER -->
|
||||||
<script>
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
xe.lang.msg_krzip_road_address_expectation = "{$lang->msg_krzip_road_address_expectation}";
|
xe.lang.msg_krzip_road_address_expectation = "{$lang->msg_krzip_road_address_expectation}";
|
||||||
xe.lang.msg_krzip_jibun_address_expectation = "{$lang->msg_krzip_jibun_address_expectation}";
|
xe.lang.msg_krzip_jibun_address_expectation = "{$lang->msg_krzip_jibun_address_expectation}";
|
||||||
jQuery("#krzip-{$template_config->sequence_id}").Krzip();
|
jQuery("#krzip-{$template_config->sequence_id}").Krzip();
|
||||||
//]]>
|
jQuery("#krzip-{$template_config->sequence_id}").find('.krzip-delete').on('click', function() {
|
||||||
|
$(this).parents('.krZip').find('input').val('');
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@
|
||||||
<div class="krzip-postcode-wrap">
|
<div class="krzip-postcode-wrap">
|
||||||
<label>{$lang->cmd_krzip_postcode}</label>
|
<label>{$lang->cmd_krzip_postcode}</label>
|
||||||
<input type="text" class="krzip-postcode" value="{$template_config->values[0]}" disabled="disabled" />
|
<input type="text" class="krzip-postcode" value="{$template_config->values[0]}" disabled="disabled" />
|
||||||
<input type="button" class="krzip-search btn" value="{$lang->cmd_search}" />
|
<button type="button" class="krzip-search btn">{$lang->cmd_search}</button>
|
||||||
|
<button type="button" class="krzip-delete btn">{$lang->cmd_delete}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="krzip-address-wrap">
|
<div class="krzip-address-wrap">
|
||||||
<label>{$lang->cmd_krzip_address}</label>
|
<label>{$lang->cmd_krzip_address}</label>
|
||||||
|
|
@ -29,7 +30,8 @@
|
||||||
|
|
||||||
<!--// FOOTER -->
|
<!--// FOOTER -->
|
||||||
<script>
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
jQuery("#krzip-{$template_config->sequence_id}").Krzip();
|
jQuery("#krzip-{$template_config->sequence_id}").Krzip();
|
||||||
//]]>
|
jQuery("#krzip-{$template_config->sequence_id}").find('.krzip-delete').on('click', function() {
|
||||||
|
$(this).parents('.krZip').find('input').val('');
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,8 @@
|
||||||
<div class="krzip-postcode-wrap">
|
<div class="krzip-postcode-wrap">
|
||||||
<label>{$lang->cmd_krzip_postcode}</label>
|
<label>{$lang->cmd_krzip_postcode}</label>
|
||||||
<input type="text" class="krzip-postcode" value="{$template_config->values[0]}" disabled="disabled" />
|
<input type="text" class="krzip-postcode" value="{$template_config->values[0]}" disabled="disabled" />
|
||||||
<input type="button" class="krzip-search btn" value="{$lang->cmd_search}" />
|
<button type="button" class="krzip-search btn">{$lang->cmd_search}</button>
|
||||||
|
<button type="button" class="krzip-delete btn">{$lang->cmd_delete}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="krzip-address-wrap">
|
<div class="krzip-address-wrap">
|
||||||
<label>{$lang->cmd_krzip_address}</label>
|
<label>{$lang->cmd_krzip_address}</label>
|
||||||
|
|
@ -30,7 +31,8 @@
|
||||||
|
|
||||||
<!--// FOOTER -->
|
<!--// FOOTER -->
|
||||||
<script>
|
<script>
|
||||||
//<![CDATA[
|
|
||||||
jQuery("#krzip-{$template_config->sequence_id}").Krzip();
|
jQuery("#krzip-{$template_config->sequence_id}").Krzip();
|
||||||
//]]>
|
jQuery("#krzip-{$template_config->sequence_id}").find('.krzip-delete').on('click', function() {
|
||||||
|
$(this).parents('.krZip').find('input').val('');
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue