diff --git a/core/src/main/cfml/context/admin/debugging.templates.list.cfm b/core/src/main/cfml/context/admin/debugging.templates.list.cfm index 3f71b76eaa..6d654e61c8 100755 --- a/core/src/main/cfml/context/admin/debugging.templates.list.cfm +++ b/core/src/main/cfml/context/admin/debugging.templates.list.cfm @@ -124,7 +124,7 @@ Redirtect to entry ---> - + @@ -147,8 +147,8 @@ Redirtect to entry ---> - - + + diff --git a/core/src/main/cfml/context/admin/ext.providers.cfm b/core/src/main/cfml/context/admin/ext.providers.cfm index f48b034e85..8ee7f07e8c 100755 --- a/core/src/main/cfml/context/admin/ext.providers.cfm +++ b/core/src/main/cfml/context/admin/ext.providers.cfm @@ -214,9 +214,9 @@ list all mappings and display necessary edit fields ---> - - - + + + diff --git a/core/src/main/cfml/context/admin/info.bundle.list.cfm b/core/src/main/cfml/context/admin/info.bundle.list.cfm index c1edd7c276..5662dc0d7f 100755 --- a/core/src/main/cfml/context/admin/info.bundle.list.cfm +++ b/core/src/main/cfml/context/admin/info.bundle.list.cfm @@ -84,12 +84,12 @@ #listLast(bundles.path,"\/")# ---> - + #bundles.vendor# - + #replace(bundles.usedBy,',','
','all')# diff --git a/core/src/main/cfml/context/admin/resources.cfx_tags.cfm b/core/src/main/cfml/context/admin/resources.cfx_tags.cfm index a0fe3cea54..07ea758720 100755 --- a/core/src/main/cfml/context/admin/resources.cfx_tags.cfm +++ b/core/src/main/cfml/context/admin/resources.cfx_tags.cfm @@ -211,10 +211,10 @@ Redirtect to entry ---> - - - - + + + + diff --git a/core/src/main/cfml/context/admin/resources.customtags.list.cfm b/core/src/main/cfml/context/admin/resources.customtags.list.cfm index 1025ed0f02..9a7c63d638 100644 --- a/core/src/main/cfml/context/admin/resources.customtags.list.cfm +++ b/core/src/main/cfml/context/admin/resources.customtags.list.cfm @@ -390,9 +390,9 @@ - - - + + + diff --git a/core/src/main/cfml/context/admin/resources.mappings.list.cfm b/core/src/main/cfml/context/admin/resources.mappings.list.cfm index 0e349e1602..721a294959 100755 --- a/core/src/main/cfml/context/admin/resources.mappings.list.cfm +++ b/core/src/main/cfml/context/admin/resources.mappings.list.cfm @@ -106,9 +106,9 @@ this.mappings=["#mappings.virtual#"]={ - - - + + + diff --git a/core/src/main/cfml/context/admin/resources.rest.cfm b/core/src/main/cfml/context/admin/resources.rest.cfm index 9f6b02e702..0b8b441006 100644 --- a/core/src/main/cfml/context/admin/resources.rest.cfm +++ b/core/src/main/cfml/context/admin/resources.rest.cfm @@ -241,9 +241,9 @@ list all mappings and display necessary edit fields ---> - - - + + + diff --git a/core/src/main/cfml/context/admin/server.logging.list.cfm b/core/src/main/cfml/context/admin/server.logging.list.cfm index e149df93cc..a8f3dd24b0 100755 --- a/core/src/main/cfml/context/admin/server.logging.list.cfm +++ b/core/src/main/cfml/context/admin/server.logging.list.cfm @@ -140,8 +140,8 @@ Redirtect to entry ---> - - + + diff --git a/core/src/main/cfml/context/admin/services.cache.list.cfm b/core/src/main/cfml/context/admin/services.cache.list.cfm index ff0dfb7129..914cabccfe 100755 --- a/core/src/main/cfml/context/admin/services.cache.list.cfm +++ b/core/src/main/cfml/context/admin/services.cache.list.cfm @@ -221,9 +221,9 @@ Redirtect to entry ---> - - - + + + diff --git a/core/src/main/cfml/context/admin/services.datasource.list.cfm b/core/src/main/cfml/context/admin/services.datasource.list.cfm index b96835da9c..4482d3c8e8 100644 --- a/core/src/main/cfml/context/admin/services.datasource.list.cfm +++ b/core/src/main/cfml/context/admin/services.datasource.list.cfm @@ -242,8 +242,8 @@ list all mappings and display necessary edit fields ---> - - + + @@ -328,9 +328,9 @@ list all mappings and display necessary edit fields ---> - - - + + + diff --git a/core/src/main/cfml/context/admin/services.mail.serverlist.cfm b/core/src/main/cfml/context/admin/services.mail.serverlist.cfm index 0940bb85d1..b39d277b3e 100644 --- a/core/src/main/cfml/context/admin/services.mail.serverlist.cfm +++ b/core/src/main/cfml/context/admin/services.mail.serverlist.cfm @@ -134,9 +134,9 @@ loop query="ms" { - - - + + + diff --git a/core/src/main/cfml/context/admin/services.schedule.list.cfm b/core/src/main/cfml/context/admin/services.schedule.list.cfm index 0dcbea72b8..d38a0b9945 100755 --- a/core/src/main/cfml/context/admin/services.schedule.list.cfm +++ b/core/src/main/cfml/context/admin/services.schedule.list.cfm @@ -265,11 +265,11 @@ Redirtect to entry ---> - - - - - + + + + + diff --git a/core/src/main/cfml/context/admin/services.tasks.cfm b/core/src/main/cfml/context/admin/services.tasks.cfm index 8272e4acfb..fe90ad767b 100755 --- a/core/src/main/cfml/context/admin/services.tasks.cfm +++ b/core/src/main/cfml/context/admin/services.tasks.cfm @@ -416,7 +416,7 @@ - + #stText.remote.ot.type# #stText.remote.ot.name# @@ -469,7 +469,7 @@ - + #tasks.type# @@ -507,10 +507,10 @@ - - - - + + + + diff --git a/core/src/main/cfml/context/res/js/admin.js b/core/src/main/cfml/context/res/js/admin.js index 7b50ed1330..90eb58741c 100644 --- a/core/src/main/cfml/context/res/js/admin.js +++ b/core/src/main/cfml/context/res/js/admin.js @@ -18,6 +18,16 @@ $(function(){ enableBtnsWhenChecked(btns, cbs); } }); + + $('#selectAll').on('click',function(){ + $(this).parents('table:first').find('tbody tr td:first-child input:checkbox').prop('checked',$(this).prop('checked')) + .filter(':first').triggerHandler('change'); + if($(this).prop('checked')){ + $('.enablebutton').removeAttr('disabled').css('opacity',1) + }else{ + $('.enablebutton').attr('disabled',true).css('opacity',0.5) + } + }) scrollToEl('div.error,div.warning:not(.nofocus)'); }); @@ -54,6 +64,19 @@ function initMenu() { ); } +$("#clickCheckbox").change(function() { + set = $("#clickCheckbox")[0].checked; + if(set == true) { + $(".enablebutton").attr({disabled:false,style:"opacity:1"}); + } + else if(set == false) { + $(".enablebutton").attr({disabled:true,style:"opacity:0.5"}); + } +}); +$("#clickCancel").click(function() { + $(".enablebutton").attr({disabled:true,style:"opacity:0.5"}); +}); + function initMenu2() { $('#menu ul').hide(); $('#menu ul:first').show();