fix page form bugs

This commit is contained in:
Matthew Fu committed 2011-12-23 13:54:28 +08:00
1 parent a9f06b9517
commit d3ca1647be
5 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ $("#page_design_id").live('change', function() {
$.getScript($(this).attr('rel') + '/' + $(this).val() + '/reload_themes');
});
$("#page_module_app").live('change', function() {
$("#page_module_app_id").live('change', function() {
var app_id = $(this).val();
if(app_id!=''){
$.getScript($(this).attr('rel') + '/' + $(this).val() + '/reload_frontend_pages',function(data, textStatus){
@@ -16,6 +16,6 @@ $("#page_module_app").live('change', function() {
});
}
else{
$("#app_page_url").remove();
$("#app_page_url").children().remove();
}
});