diff --git a/module/bug/js/common.js b/module/bug/js/common.js index 35fc894ff7..3837d45dbe 100644 --- a/module/bug/js/common.js +++ b/module/bug/js/common.js @@ -352,9 +352,6 @@ function loadProjectBuilds(projectID) { link = createLink('build', 'ajaxGetProjectBuilds', 'projectID=' + projectID + '&productID=' + productID + '&varName=openedBuild&build=' + oldOpenedBuild + '&branch=' + branch); $('#openedBuildBox').load(link, function(){$(this).find('select').chosen()}); - - link = createLink('build', 'ajaxGetProjectBuilds', 'projectID=' + projectID + '&productID=' + productID + '&varName=resolvedBuild&build=' + oldResolvedBuild + '&branch=' + branch); - $('#resolvedBuildBox').load(link, function(){$(this).find('select').chosen()}); } } diff --git a/module/bug/view/batchcreate.html.php b/module/bug/view/batchcreate.html.php index d908ec85fa..015e6438f3 100644 --- a/module/bug/view/batchcreate.html.php +++ b/module/bug/view/batchcreate.html.php @@ -48,7 +48,7 @@ idAB;?> '> product->branch;?> - bug->module;?> + bug->module;?> '>bug->project;?> bug->openedBuild;?> bug->title;?> diff --git a/module/productplan/js/create.js b/module/productplan/js/create.js index db1aff6aca..480f5822d2 100644 --- a/module/productplan/js/create.js +++ b/module/productplan/js/create.js @@ -50,14 +50,6 @@ $('#end').on('change', function() $("input:radio[name='delta']").attr("checked", false); }); -$('form').submit(function() -{ - $('#submit').click(function() - { - return false; - }); -}) - $('#future').on('change', function() { if($(this).prop('checked')) diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index b9f33602f4..f5b727f8c7 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -41,7 +41,7 @@
story->module;?>
"; diff --git a/www/js/zui/min.js b/www/js/zui/min.js index e437f010c9..913bf0c5b8 100644 --- a/www/js/zui/min.js +++ b/www/js/zui/min.js @@ -1,5 +1,5 @@ /*! - * ZUI: Zentao template - v1.8.1 - 2018-07-09 + * ZUI: Zentao template - v1.8.1 - 2018-07-12 * http://zui.sexy * GitHub: https://github.com/easysoft/zui.git * Copyright (c) 2018 cnezsoft.com; Licensed MIT @@ -74,5 +74,5 @@ if(!t.fn.droppable)return void console.error("Sortable requires droppable.js");v * Original idea by: * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ */ -function(t){function e(e){if("string"==typeof e.data){var i=e.handler,n=e.data.toLowerCase().split(" ");e.handler=function(e){if(this===e.target||!/textarea|select/i.test(e.target.nodeName)&&"text"!==e.target.type){var s="keypress"!==e.type&&t.hotkeys.specialKeys[e.which],o=String.fromCharCode(e.which).toLowerCase(),a="",r={};e.altKey&&"alt"!==s&&(a+="alt+"),e.ctrlKey&&"ctrl"!==s&&(a+="ctrl+"),e.metaKey&&!e.ctrlKey&&"meta"!==s&&(a+="meta+"),e.shiftKey&&"shift"!==s&&(a+="shift+"),s?r[a+s]=!0:(r[a+o]=!0,r[a+t.hotkeys.shiftNums[o]]=!0,"shift+"===a&&(r[t.hotkeys.shiftNums[o]]=!0));for(var l=0,h=n.length;l","/":"?","\\":"|"}},t.each(["keydown","keyup","keypress"],function(){t.event.special[this]={add:e}})}(jQuery),function(t){"use strict";function e(e,i){if(e===!1)return e;if(!e)return i;e===!0?e={add:!0,"delete":!0,edit:!0,sort:!0}:"string"==typeof e&&(e=e.split(","));var n;return t.isArray(e)&&(n={},t.each(e,function(e,i){t.isPlainObject(i)?n[i.action]=i:n[i]=!0}),e=n),t.isPlainObject(e)&&(n={},t.each(e,function(e,i){i?n[e]=t.extend({type:e},a[e],t.isPlainObject(i)?i:null):n[e]=!1}),e=n),i?t.extend(!0,{},i,e):e}function i(e,i,n){return i=i||e.type,t(n||e.template).addClass("tree-action").attr(t.extend({"data-type":i,title:e.title||""},e.attr)).data("action",e)}var n="zui.tree",s=0,o=function(e,i){this.name=n,this.$=t(e),this.getOptions(i),this._init()},a={sort:{template:''},add:{template:''},edit:{template:''},"delete":{template:''}};o.DEFAULTS={animate:null,initialState:"normal",toggleTemplate:''},o.prototype.add=function(e,i,n,s,o){var a,r=t(e),l=this.options;if(r.is("li")?(a=r.children("ul"),a.length||(a=t("