//remove debug
This commit is contained in:
@@ -33,7 +33,6 @@ function bindStateInputAndUpdate()
|
|||||||
|
|
||||||
function updateState(suffix)
|
function updateState(suffix)
|
||||||
{
|
{
|
||||||
console.log($('select#id_state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)'));
|
|
||||||
$('select#id_state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)').remove();
|
$('select#id_state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)').remove();
|
||||||
var states = countries[$('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()];
|
var states = countries[$('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()];
|
||||||
if(typeof(states) != 'undefined')
|
if(typeof(states) != 'undefined')
|
||||||
|
|||||||
Reference in New Issue
Block a user