diff --git a/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml.cs b/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml.cs index 0710c047..0b4ea9c7 100644 --- a/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml.cs +++ b/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml.cs @@ -155,8 +155,7 @@ namespace GanjooRazor.Areas.Admin.Pages public async Task OnPostSendCorrectionsModerationAsync(int correctionId, string titleReviewResult, string rhythmReviewResult, string rhythm2ReviewResult, string titleReviewNote, string[] verseReviewResult, - string[] verseReviewNotes, - int[] versesToBeDeletedVOrders + string[] verseReviewNotes ) { using (HttpClient secureClient = new HttpClient()) @@ -226,6 +225,9 @@ namespace GanjooRazor.Areas.Admin.Pages else { Correction.VerseOrderText[i].Result = (CorrectionReviewResult)Enum.Parse(typeof(CorrectionReviewResult), verseReviewResult[i]); + if (Correction.VerseOrderText[i].VersePosition != null) + { + } } Correction.VerseOrderText[i].ReviewNote = verseReviewNotes[i]; } diff --git a/GanjooRazor/Pages/AudioClip.cshtml b/GanjooRazor/Pages/AudioClip.cshtml index 94e7fd4e..f7c157c4 100644 --- a/GanjooRazor/Pages/AudioClip.cshtml +++ b/GanjooRazor/Pages/AudioClip.cshtml @@ -151,7 +151,7 @@ - + - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Hashieha.cshtml b/GanjooRazor/Pages/Hashieha.cshtml index 978d276e..fe320b6e 100644 --- a/GanjooRazor/Pages/Hashieha.cshtml +++ b/GanjooRazor/Pages/Hashieha.cshtml @@ -193,7 +193,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Index.cshtml b/GanjooRazor/Pages/Index.cshtml index 60c575e5..aae88e08 100644 --- a/GanjooRazor/Pages/Index.cshtml +++ b/GanjooRazor/Pages/Index.cshtml @@ -54,7 +54,7 @@ - + @if (Model.IsPoemPage) { diff --git a/GanjooRazor/Pages/Search.cshtml b/GanjooRazor/Pages/Search.cshtml index d196c156..a3d35c78 100644 --- a/GanjooRazor/Pages/Search.cshtml +++ b/GanjooRazor/Pages/Search.cshtml @@ -201,7 +201,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Simi.cshtml b/GanjooRazor/Pages/Simi.cshtml index cf339645..af0d4f89 100644 --- a/GanjooRazor/Pages/Simi.cshtml +++ b/GanjooRazor/Pages/Simi.cshtml @@ -203,7 +203,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/wwwroot/js/vaabd.js b/GanjooRazor/wwwroot/js/vaabd.js index 05ee38f5..a3ea9476 100644 --- a/GanjooRazor/wwwroot/js/vaabd.js +++ b/GanjooRazor/wwwroot/js/vaabd.js @@ -35,12 +35,12 @@ document.addEventListener('selectionchange', function() { $meaning.attr({ - href: 'http://www.vajehyab.com/?q=' + encodeURI(text), + href: 'https://www.vajehyab.com/?q=' + encodeURI(text), title: 'جستجو در واژه‌یاب', target: '_blank' }) $abjad.attr({ - href: 'http://abjad.ganjoor.net/?q=' + encodeURI(text) + '&r=' + window.location.href, + href: 'https://abjad.ganjoor.net/?q=' + encodeURI(text) + '&r=' + window.location.href, title: 'محاسبه ابجد معادل عبارت', target: '_blank' })