|
|
@@ -382,20 +382,19 @@
|
|
|
magnet_type = $("#sel_magnetType").val();
|
|
|
var $appletQrUrl = $("#input_appletQrUrl").parents(".form-group");
|
|
|
var $url = $("#url").parents(".form-group");
|
|
|
- if(magnet_type == "0"){
|
|
|
- $appletQrUrl.attr('disabled', 'disabled');
|
|
|
- $appletQrUrl.hide();
|
|
|
- $("#input_appletQrUrl").val("");
|
|
|
-
|
|
|
- $url.removeAttr('disabled');
|
|
|
- $url.show();
|
|
|
- }else if(magnet_type == "1"){
|
|
|
+ if(magnet_type == "1"){
|
|
|
$("#imageBox").addClass("imageBox imageBox_S");
|
|
|
$("#thumbBox").addClass("thumbBox_S");
|
|
|
$appletQrUrl.removeAttr('disabled');
|
|
|
$appletQrUrl.show();
|
|
|
$url.attr('disabled', 'disabled');
|
|
|
$url.hide();
|
|
|
+ } else {
|
|
|
+ $appletQrUrl.attr('disabled', 'disabled');
|
|
|
+ $appletQrUrl.hide();
|
|
|
+ $("#input_appletQrUrl").val("");
|
|
|
+ $url.removeAttr('disabled');
|
|
|
+ $url.show();
|
|
|
}
|
|
|
}
|
|
|
|