Skip to content

Commit 7156b67

Browse files
committed
Misc assorted pre-release fixes.
1 parent 2b8cea2 commit 7156b67

File tree

6 files changed

+19
-14
lines changed

6 files changed

+19
-14
lines changed

Cognifide.PowerShell.Sitecore7/sitecore modules/PowerShell/Styles/Runner.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,6 @@ a#ViewErrorsButton {
209209

210210
#Promo.promoArea { border: 0px; }
211211

212-
.scDialogHeader.psTextResults { display: none; }
212+
.scDialogHeader.psTextResults { display: none; }
213+
214+
#ValuePanelContainer { background-color: white; }

Cognifide.PowerShell/Client/Applications/PowerShellIse.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ protected void RunPlugin(ClientPipelineArgs args)
553553
scriptSession.SetVariable("scriptText",Editor.Value);
554554
scriptSession.SetVariable("selectionText", SelectionText.Value.Trim());
555555
scriptSession.SetVariable("scriptItem", ScriptItem);
556+
scriptSession.Interactive = true;
556557
JobExecuteScript(args, script[ScriptItemFieldNames.Script], scriptSession, true);
557558
}
558559

Cognifide.PowerShell/Client/Applications/PowerShellResultViewerList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ private void ListViewAction(Message message)
422422
: string.Empty;
423423
SetVariables(scriptSession, message);
424424
scriptSession.SetExecutedScript(scriptItem);
425-
425+
scriptSession.Interactive = true;
426426
ScriptSessionId = scriptSession.ID;
427427

428428
var parameters = new object[]

Cognifide.PowerShell/Data/serialization/master/sitecore/system/Modules/PowerShell/Script Library/Getting Started/User Interaction/Read-Variable - Sample.item

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ templatekey: PowerShell Script
1313
field: {B1A94FF0-6897-47C0-9C51-AA6ACB80B1F0}
1414
name: Script
1515
key: script
16-
content-length: 6300
16+
content-length: 6430
1717

1818
$item = get-item master:\content\Home
1919
$items = get-Childitem 'master:\templates\Modules\PowerShell Console\PowerShell Script*'
@@ -53,6 +53,7 @@ $result = Read-Variable -Parameters `
5353
@{ Name = "multiText"; Value="Multiline Text"; Title="Longer Text"; lines=3; Tooltip="You can put multi line text here"; Tab="Simple"; Mandatory=$false},
5454
@{ Name = "number"; Value=110; Title="Integer"; Tooltip="I need this number too"; Tab="Simple"; Columns=6;},
5555
@{ Name = "fraction"; Value=1.1; Title="Float"; Tooltip="I'm just a bit over 1"; Tab="Simple"; Columns=6;},
56+
@{ Name = "password"; Value="password"; Title="Password"; Tooltip="Enter password here"; Tab="Simple"; Editor="password";},
5657
@{ Name = "anOption"; Value="3"; Title="An Option"; Options=$selection; Tooltip="Tooltip for dropdown"; Tab="Options"},
5758
@{ Name = "checklistItems"; Title="Multiple options"; Options=$options; Tooltip="Checklist with various options"; Tab="Options"; Editor="checklist"},
5859
@{ Name = "radioListItems"; Title="Radio selection"; Options=$selection; Tab="Options"; Editor="radio" },
@@ -119,7 +120,7 @@ $checklistItems
119120
----version----
120121
language: en
121122
version: 1
122-
revision: e1a14feb-34d0-46d4-a988-2df311cf9212
123+
revision: 1ef4a4c8-2c01-4c80-a203-4da842d064af
123124

124125
----field----
125126
field: {25BED78C-4957-4165-998A-CA1B52F67497}
@@ -134,14 +135,14 @@ name: __Revision
134135
key: __revision
135136
content-length: 36
136137

137-
e1a14feb-34d0-46d4-a988-2df311cf9212
138+
1ef4a4c8-2c01-4c80-a203-4da842d064af
138139
----field----
139140
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
140141
name: __Updated
141142
key: __updated
142-
content-length: 34
143+
content-length: 15
143144

144-
20150725T210943:635734553839783614
145+
20150902T141712
145146
----field----
146147
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
147148
name: __Updated by

Cognifide.PowerShell/Data/serialization/master/sitecore/system/Modules/PowerShell/Script Library/Platform/Development/PowerShell Extensions Maintenance/Prepare Console Distribution.item

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ templatekey: PowerShell Script
1313
field: {B1A94FF0-6897-47C0-9C51-AA6ACB80B1F0}
1414
name: Script
1515
key: script
16-
content-length: 9392
16+
content-length: 9492
1717

1818
# Clear test items:
1919
# Get-ChildItem 'master:\system\Modules\PowerShell\Script Library' -recurse | Where-Object { ($_.Name -match '\(test\)') } | Remove-Item
2020

2121
if([Cognifide.PowerShell.Core.VersionDecoupling.VersionResolver]::IsVersionHigherOrEqual([Cognifide.PowerShell.Core.VersionDecoupling.VersionResolver]::SitecoreVersion71)){
2222
$sitecore7Warning = ""
2323
} else {
24+
(Get-Item "core:\content\Applications\PowerShell\PowerShell Runner").Chrome = "WindowChrome"
2425
$sitecore7Warning = @"
2526
******************************************************
2627
If you are on Sitecore 7.0 or lower - after installing
@@ -199,7 +200,7 @@ if(Test-Path -Path $remotingSourcePath) {
199200
----version----
200201
language: en
201202
version: 1
202-
revision: 5cabb93d-a178-405f-ad58-86b4ac78be4e
203+
revision: 26e2a942-59aa-47a3-86a3-490ed42ad175
203204

204205
----field----
205206
field: {25BED78C-4957-4165-998A-CA1B52F67497}
@@ -214,14 +215,14 @@ name: __Revision
214215
key: __revision
215216
content-length: 36
216217

217-
5cabb93d-a178-405f-ad58-86b4ac78be4e
218+
26e2a942-59aa-47a3-86a3-490ed42ad175
218219
----field----
219220
field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
220221
name: __Updated
221222
key: __updated
222-
content-length: 34
223+
content-length: 15
223224

224-
20150830T154848:635765465283054423
225+
20150902T142611
225226
----field----
226227
field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
227228
name: __Updated by

Cognifide.PowerShell/sitecore modules/Shell/PowerShell/PowerShellRunner.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<control xmlns:def="Definition" xmlns="http://schemas.sitecore.net/Visual-Studio-Intellisense">
44
<PowerShellRunner>
5-
<FormPage>
5+
<FormPage Application="PowerShell/PowerShell Runner">
66
<Script Src="/sitecore modules/PowerShell/Scripts/jquery-1.10.2.min.js"></Script>
77
<Script>$ise = jQuery.noConflict();</Script>
88
<Script Src="/sitecore modules/PowerShell/Scripts/jquery-migrate-1.2.1.min.js"></Script>
@@ -37,7 +37,7 @@
3737
</Border>
3838
</Border>
3939

40-
<Scrollbox Class="scFlexContent">
40+
<Scrollbox ID="ValuePanelContainer" Class="scFlexContent">
4141
<Scrollbox ID="ValuePanel" Class="scStretchAbsolute scDialogContentContainer">
4242

4343
<ThemedImage ID="TitleIcon" Src="powershell/32x32/powershell.png" Visible="false" />

0 commit comments

Comments
 (0)