PageSourceSearch

https://binderim.com/js/vendor/orders-detail-nav.fvqlnypehd.js

js binderim.com collected 2026-09-24 14:41:40 UTC 1,767 bytes, 40 lines download raw bytes

1/* ─── Vendor Orders: siparis detayi navigasyonu (Issue #1998) ───
2   Siparis detayi artik "modal" degil, GERCEK tam sayfa navigasyon (ayni Razor Page
3   uzerinde sunucu tarafi detay modu). Bu dosya iki isi ustlenir:
4   1) closeOrderDetail(): geri linkin (data-vo-detail-back) href'ini okuyup oraya gider.
5      URL'i JS KURMAZ — tek dogruluk kaynagi Razor'un urettigi <a> linkidir (asp-page +
6      asp-route-* ile statusFilter/search/sort/debuguser zaten korunur).
7   2) ESC tusu: gorsel onizleme modali (voImageModal) acikken ESC SADECE onu kapatir ve
8      erken return eder; sayfa listeye navigate ETMEZ. Bu blok BOLUNMEDEN tasindi
9      (Technical Design (g)) — iki ayri dinleyiciye bolunseydi gorsel modalini kapatirken
10      ikinci dinleyici de tetiklenip sayfayi listeye goturebilirdi. */
11(function () {
12    'use strict';
13
14    function closeOrderDetail() {
15        var backLink = document.querySelector('[data-vo-detail-back]');
16        if (backLink && backLink.href) {
17            window.location.href = backLink.href;
18        }
19    }
20
21    // ESC key: once gorsel onizleme modali, sonra siparis detayindan geri don.
22    document.addEventListener('keydown', function (e) {
23        if (e.key === 'Escape') {
24            var imgModal = document.getElementById('voImageModal');
25            if (imgModal && imgModal.classList.contains('active')) {
26                if (typeof window.closeImageModal === 'function') {
27                    window.closeImageModal();
28                }
29                return;
30            }
31
32            var backLink = document.querySelector('[data-vo-detail-back]');
33            if (backLink) {
34                closeOrderDetail();
35            }
36        }
37    });
38
39    window.closeOrderDetail = closeOrderDetail;
40})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.