* Fix bug #29224, 29094.

This commit is contained in:
caoyanyi
2022-11-03 14:56:55 +08:00
parent 7d48342cbd
commit abe3332930
4 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -41,8 +41,10 @@ $(function()
$('.switchButton').click(function()
{
var viewType = $(this).attr('data-type');
var branchID = $(this).val();
$.cookie('viewType', viewType, {expires:config.cookieLife, path:config.webRoot});
window.location.reload();
var link = createLink('productplan', 'browse', "productID=" + productID + '&branch=' + branchID);
location.href = link;
});
$('#branch').change(function()
+1 -1
View File
@@ -1,5 +1,5 @@
<?php $canOrder = (common::hasPriv('program', 'updateOrder') and strpos($orderBy, 'order') !== false)?>
<form class='main-table' id='programForm' method='post' data-ride='table' data-nested='true' data-expand-nest-child='false' data-checkable='false' data-enable-empty-nested-row='true' data-replace-id='programTableList' data-preserve-nested='true'>
<form class='main-table' id='programForm' method='post' data-ride='table' data-nested='true' data-expand-nest-child='false' data-checkable='false' data-enable-empty-nested-row='true' data-replace-id='programTableList' data-preserve-nested='true' data-nest-level-indent='22'>
<table class='table has-sort-head table-fixed table-nested' id='programList'>
<?php $vars = "status=$status&orderBy=%s";?>
<thead>
+2 -2
View File
@@ -4,14 +4,14 @@ $(function()
{
var involved = $(this).is(':checked') ? 1 : 0;
$.cookie('involved', involved, {expires: config.cookieLife, path: config.webRoot});
window.location.reload();
location.href = location.href;
});
$('[id="switchButton"]').click(function()
{
var projectType = $(this).attr('data-type');
$.cookie('projectType', projectType, {expires: config.cookieLife, path: config.webRoot});
window.location.reload();
location.href = location.href;
});
$('input[name^="showEdit"]').click(function()
+1
View File
@@ -1,2 +1,3 @@
.c-name {max-width: 100px;}
#profile {vertical-align: unset;}
.c-full-date {width: 190px;}