Skip to content

Commit 3d9fea5

Browse files
Removes alert when the select box for a specification attribute was changed
1 parent bea8673 commit 3d9fea5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Presentation/SmartStore.Web/Administration/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
$(function() {
5656
$("#@Html.FieldIdFor(model => model.AddSpecificationAttributeModel.SpecificationAttributeId)").change(function() {
5757

58-
alert("changed");
59-
6058
var selectedItem = $(this).val();
6159
var ddlSpecOptions = $("#@Html.FieldIdFor(model => model.AddSpecificationAttributeModel.SpecificationAttributeOptionId)")
6260
$.ajax({
@@ -69,7 +67,7 @@
6967
$.each(data, function(id, option) {
7068
ddlSpecOptions.append($('<option></option>').val(option.id).html(option.name));
7169
});
72-
ddlSpecOptions.trigger("change"); // codehint: sm-add
70+
ddlSpecOptions.trigger("change");
7371
},
7472
error:function (xhr, ajaxOptions, thrownError){
7573
alert('Failed to retrieve specification options.')

0 commit comments

Comments
 (0)