public/js/jquery/plupload/script.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()
				{
					$(this).nstUI({
						method:	"loadAjax",
						loadAjax:{
							url: g_setting.url_get,
							field: {load:'_', show:''},
							datatype: 'json',
							event_complete: function(data)
							{
								var upload_complete = t.find('.upload_complete');
								upload_complete.hide();
								var params = {file_url: data._url};
								var html = temp_set_value(t.find('#temp #upload_complete').html(), params);
								upload_complete.html(html).fadeIn().find('img').attr('src', data._url);
								t.find('.upload_action #action_del').attr('href', data._url_del);
							}
						}
					});
				}
function update_file_info ( ) { $ ( this ) . nstUI ( { method : "loadAjax" , loadAjax : { url : g_setting . url_get , field : { load : '_' , show : '' } , datatype : 'json' , event_complete : function ( data ) { var upload_complete = t . find ( '.upload_complete' ) ; upload_complete . hide ( ) ; var params = { file_url : data . _url } ; var html = temp_set_value ( t . find ( '#temp #upload_complete' ) . html ( ) , params ) ; upload_complete . html ( html ) . fadeIn ( ) . find ( 'img' ) . attr ( 'src' , data . _url ) ; t . find ( '.upload_action #action_del' ) . attr ( 'href' , data . _url_del ) ; } } } ) ; }
Cap nhat thong tin file da upload
Cap nhat thong tin file da upload