Fixing upload bug

This commit is contained in:
Kaito committed 2011-07-26 18:22:17 +08:00
1 parent 1ac10e70a2
commit dabd6dd5b5
5 files changed
+44 -56

No files matched your search

+8 -4
View File
@@ -1,3 +1,7 @@
$(".r_edit").live("click",function(){
$(this).after($("<span style='border:solid; width:400px;height:300px; float:right;'></span>").load($(this).attr("path")));
});
$(".r_snapshot").live({
mouseenter:
function(){
@@ -11,11 +15,11 @@ $(".r_snapshot").live({
);
$('input.multi_files').live("change", function(){
$(this).prev("ul").append("<li>"+$(this).val()+"</li>");
new_node =$(this).clone();
$(this).parent().prev("ul").append("<li>"+$(this).val()+"</li>");
new_node =$(this).parent().clone();
$(this).css("display","none");
new_node.val("");
$(this).before(new_node)
new_node.children('input.multi_files').val("");
$(this).parent().before(new_node);
});
$('a.remove_mark').live("click",function(){