Adds CTRL+S support in all edit pages + loads of warning clean up
This commit is contained in:
@@ -159,7 +159,7 @@ namespace umbraco.editorControls.SettingControls.Pickers
|
||||
if (_showXPath && tb.Text != string.Empty)
|
||||
return tb.Text;
|
||||
else
|
||||
return cc.Text;
|
||||
return cc.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
@@ -170,7 +170,7 @@ namespace umbraco.editorControls.SettingControls.Pickers
|
||||
int nodeId;
|
||||
|
||||
if (int.TryParse(_val, out nodeId))
|
||||
cc.Text = _val;
|
||||
cc.Value = _val;
|
||||
else if (ShowXPath)
|
||||
tb.Text = _val;
|
||||
}
|
||||
|
||||
@@ -77,7 +77,6 @@ namespace umbraco.editorControls.ultimatepicker
|
||||
break;
|
||||
case "dropdownlist":
|
||||
return dropdownlistNodes.SelectedValue;
|
||||
break;
|
||||
case "listbox":
|
||||
foreach (ListItem item in listboxNodes.Items)
|
||||
{
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace umbraco.editorControls.userControlGrapper
|
||||
}
|
||||
|
||||
}
|
||||
catch (MissingMethodException ex) { }
|
||||
catch (MissingMethodException) { }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user