PageSourceSearch

https://www.future-labo.com/layout/fl/common/js/popDelDayCalendar.js

js future-labo.com collected 2026-10-04 10:24:58 UTC 1,430 bytes, 52 lines download raw bytes

1// 配送希望日カレンダ制御クラス
2var DelDayCalendar = function(isRegular) {
3	this._init(isRegular);
4}
5DelDayCalendar.prototype = {
6	uri: "CartOrderDelDayCalendar",
7	width: "700px",
8	height: "600px",
9	isRegular: false,
10	selectedCycleDiv: -1,
11	selectedWeek: -1,
12	selectedDate: -1,
13	selectedDayOfWeek: -1,
14
15	_init: function(isRegular) {
16		this.isRegular = isRegular;
17	},
18
19	showDialog: function(deliId, seq, defaultDate, dialogCallback) {
20		var url = this.uri + "?deliId=" + encodeURI(deliId);
21		if (seq != null && seq != -1) {
22			url += "&seq=" + encodeURI(seq);
23		}
24		if (this.isRegular)
25		{
26			url += "&week=" + encodeURI(this.selectedWeek);
27			url += "&dayOfWeek=" + encodeURI(this.selectedDayOfWeek);
28		}
29		if (defaultDate != null) {
30			url += "&defaultDate=" + encodeURI(defaultDate);
31		}
32		$.fn.colorbox({
33			width: this.width,
34			height: this.height,
35			iframe: true,
36			href: url,
37			onCleanup: function() {
38				if (dialogCallback != null) {
39					var dateSelected = $("iframe:first").contents().find("#dateSelected").val();
40					if (dateSelected == "true") {
41						var date = $("iframe:first").contents().find("#hiddenShipDate").val();
42						dialogCallback(deliId, seq, date);
43					}
44				}
45			}
46		});
47	},
48
49	getDeliverableDateList: function(deliId, delFaFlg, seq, callback) {
50    	DeliDwr.getDeliverableDateList(deliId, delFaFlg, this.selectedWeek, this.selectedDayOfWeek, seq, this.selectedDate, callback);
51	}
52}

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.