@@ -357,12 +357,6 @@
}
function upBg() {
- var imgUrl = ctx + 'img/profile.jpg';
- options = {
- thumbBox: '.thumbBox',
- spinner: '.spinner',
- imgSrc: imgUrl
- }
cropper = $('.imageBox').cropbox(options);
var img = cropper.getBlob();
var formdata = new FormData();
@@ -122,7 +122,9 @@
}else{
str = ctx+value;
- return $.table.imageView(str,218,237,"tableImage_s img-view");
+ if (value != null){
+ return $.table.imageView(str,218,237,"tableImage_s img-view");
+ }
},
{