rediplay SEO tab after submit. Fix #352
This commit is contained in:
@@ -216,6 +216,8 @@ form_content = {$smarty.capture.delete_folder_dialog nofilter}
|
|||||||
{/javascripts}
|
{/javascripts}
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
|
// Load active tab
|
||||||
|
|
||||||
$.imageUploadManager.initImageDropZone();
|
$.imageUploadManager.initImageDropZone();
|
||||||
$.documentUploadManager.initDocumentDropZone();
|
$.documentUploadManager.initDocumentDropZone();
|
||||||
|
|
||||||
@@ -227,7 +229,7 @@ form_content = {$smarty.capture.delete_folder_dialog nofilter}
|
|||||||
|
|
||||||
// Show proper tab, if defined
|
// Show proper tab, if defined
|
||||||
{if ! empty($current_tab)}
|
{if ! empty($current_tab)}
|
||||||
$('#tabbed-menu a[href="#{$current_tab}"]').tab('show')
|
$('.nav-tabs a[href="#{$current_tab}"]').trigger("click");
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
$('a.delete-folder').click(function(e) {
|
$('a.delete-folder').click(function(e) {
|
||||||
@@ -267,9 +269,6 @@ form_content = {$smarty.capture.delete_folder_dialog nofilter}
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Initialize folder (id=
|
// Initialize folder (id=
|
||||||
{$folder_id})
|
|
||||||
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