Adds CTRL+S support in all edit pages + loads of warning clean up

This commit is contained in:
hartvig
2011-07-05 11:30:06 -02:00
parent 304e7976bc
commit 1c26ddd87f
124 changed files with 2511 additions and 2188 deletions

View File

@@ -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;
}

View File

@@ -77,7 +77,6 @@ namespace umbraco.editorControls.ultimatepicker
break;
case "dropdownlist":
return dropdownlistNodes.SelectedValue;
break;
case "listbox":
foreach (ListItem item in listboxNodes.Items)
{

View File

@@ -78,7 +78,7 @@ namespace umbraco.editorControls.userControlGrapper
}
}
catch (MissingMethodException ex) { }
catch (MissingMethodException) { }
}
}