This commit is contained in:
tidusjar 2016-04-18 18:46:09 +01:00
parent 84edd6636d
commit ffbb3d9a44

View file

@ -130,7 +130,12 @@
@if (!string.IsNullOrEmpty(Model.QualityProfile))
{
<text>
preLoad();
function preLoad() {
var qualitySelected = @Model.QualityProfile;
if (!qualitySelected) {
return;
@ -156,6 +161,7 @@
generateNotify("Something went wrong!", "danger");
}
});
}
</text>
}