public/js/jquery/plupload/script/single_image.js
/**
	 * Cap nhat thong tin file da upload
	 */
Cap nhat thong tin file da upload
Cap nhat thong tin file da upload
function update_file_info()
	{
		var main = $(si_main);
		$(this).nstUI({
			method:	"loadAjax",
			loadAjax:{
				url: si_url_get,
				field: {load:'_', show:''},
				datatype: 'json',
				event_complete: function(data)
				{
					var upload_complete = main.find('.upload_complete');
					upload_complete.hide();
					var params = {file_url: data._url};
					var html = temp_set_value(main.find('#temp #upload_complete').html(), params);
					upload_complete.html(html).fadeIn().find('img').attr('src', data._url);
					main.find('.upload_action #action_del').attr('href', data._url_del);
				}
			}
		});
	}
function update_file_info ( ) { var main = $ ( si_main ) ; $ ( this ) . nstUI ( { method : "loadAjax" , loadAjax : { url : si_url_get , field : { load : '_' , show : '' } , datatype : 'json' , event_complete : function ( data ) { var upload_complete = main . find ( '.upload_complete' ) ; upload_complete . hide ( ) ; var params = { file_url : data . _url } ; var html = temp_set_value ( main . find ( '#temp #upload_complete' ) . html ( ) , params ) ; upload_complete . html ( html ) . fadeIn ( ) . find ( 'img' ) . attr ( 'src' , data . _url ) ; main . find ( '.upload_action #action_del' ) . attr ( 'href' , data . _url_del ) ; } } } ) ; }
Cap nhat thong tin file da upload
Cap nhat thong tin file da upload