Fixed potiential javascript error
This commit is contained in:
@@ -560,12 +560,12 @@ $(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Initialize folder (id={$folder_id}) select value
|
// Initialize folder select value
|
||||||
{if $folder_id != 0}
|
{if $folder_id != 0}
|
||||||
$('#folder_id').val("{$folder_id}").change();
|
$('#folder_id').val("{$folder_id}").change();
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
// Initialize accessory category id (id={$accessory_category_id}) select value
|
// Initialize accessory category id select value
|
||||||
{if $accessory_category_id != 0}
|
{if $accessory_category_id != 0}
|
||||||
$('#accessory_category_id').val("{$accessory_category_id}").change();
|
$('#accessory_category_id').val("{$accessory_category_id}").change();
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -380,7 +380,7 @@ $(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Initialize folder (id={$folder_id}) select value
|
// Initialize folder select value
|
||||||
{if $folder_id != 0}
|
{if $folder_id != 0}
|
||||||
$('#folder_id').val("{$folder_id}").change();
|
$('#folder_id').val("{$folder_id}").change();
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ form_content = {$smarty.capture.delete_folder_dialog nofilter}
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Initialize folder (id=
|
// Initialize folder select value
|
||||||
{if $folder_id != 0}
|
{if $folder_id != 0}
|
||||||
$('#folder_id').val("{$folder_id}").change();
|
$('#folder_id').val("{$folder_id}").change();
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -226,7 +226,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Initialize folder (id={$folder_id}) select value
|
// Initialize folder select value
|
||||||
{if $folder_id != 0}
|
{if $folder_id != 0}
|
||||||
$('#folder_id').val("{$folder_id}").change();
|
$('#folder_id').val("{$folder_id}").change();
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user