issue 160, code clear up

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9197 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2011-09-19 08:18:19 +00:00
parent ace9dd3f6e
commit 77eb13849b
2 changed files with 21 additions and 19 deletions

View file

@ -1,23 +1,8 @@
jQuery(function($){
$('#favicon').change(function(){
var re_favicon = /favicon\.ico$/
if(re_favicon.test($(this).val()) != true){
alert('{$lang->msg_not_correct_iconname} favicon.ico {$lang->msg_possible_only_file}');
return false;
}
});
$('#mobicon').change(function(){
var re_favicon = /mobicon\.png$/
if(re_favicon.test($(this).val()) != true){
alert('{$lang->msg_not_correct_iconname} mobicon.png {$lang->msg_possible_only_file}');
return false;
}
});
$('.tgContent ul').bind('click', function(){
$('#sitefind_addBtn').css('display','');
});
});
function setStartModule(){
var target_module = jQuery('.moduleIdList option:selected').text();
var index_module_srl = jQuery('.moduleIdList').val();