Skip to content

Commit

Permalink
inTriggerTime2
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Oct 16, 2023
1 parent ebdaf5d commit a67bf57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @rbv
Submodule @rbv updated from f4407d to 3ed021
2 changes: 1 addition & 1 deletion src/main/java/com/rebuild/web/commons/FileDownloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void download(HttpServletRequest request, HttpServletResponse response) t

if (QiniuCloud.instance().available() && !temp) {
String privateUrl = QiniuCloud.instance().makeUrl(filePath);
privateUrl += "&attname=" + CodecUtils.urlEncode(attname);
if (!INLINE_FORCE.equals(attname)) privateUrl += "&attname=" + CodecUtils.urlEncode(attname);
response.sendRedirect(privateUrl);
} else {

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/web/assets/js/trigger/trigger-design.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ $(document).ready(() => {
.val('0')
.on('change', function () {
const start = ~~this.value
const end = ~~$('.J_startHour2').val()
$('.J_startHour2 option').each(function () {
$(this).attr('disabled', ~~$(this).val() < start)
})
if (end < start) $('.J_startHour2').val(start)
})
$('.J_startHour2').val('23')

Expand Down

0 comments on commit a67bf57

Please sign in to comment.