From 7b147367161cdca36dfe155098cbdd5feab644eb Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Tue, 8 Oct 2013 10:48:51 +0200 Subject: [PATCH] add modal error id changing default country failed --- templates/admin/default/countries.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/templates/admin/default/countries.html b/templates/admin/default/countries.html index 99d46ed17..6de45aa38 100644 --- a/templates/admin/default/countries.html +++ b/templates/admin/default/countries.html @@ -208,6 +208,23 @@ form_content = {$smarty.capture.delete_dialog nofilter} } + + {/block} {block name="javascript-initialization"} @@ -233,6 +250,8 @@ data : { country_id: $(this).data('id') } + }).fail(function(){ + $('#toggle-default-failed').modal('show'); }); } });