Empty($detailsurl.val()));
    $detailsurlvisit[isEmpty($detailsurl.val()) ? 'attr' : 'removeAttr']('disabled', '');
    $imageurl.toggleClass('error', isEmpty($imageurl.val()));
    $imageurlvisit[isEmpty($imageurl.val()) ? 'attr' : 'removeAttr']('disabled', '');
    $cropperbutton[isEmpty($imageurl.val()) ? 'attr' : 'removeAttr']('disabled', '');
    $imageurlvisit.css('background-image', 'url("' + $imageurl.val() + '")');

    g_editorState.imageUrl = $imageurl.val();

    $thumburlvisit[isEmpty($thumbur