Use query parameters rather than long path

This commit is contained in:
Cmdr McDonald
2016-11-21 10:06:14 +00:00
parent e4830811b0
commit 8857aba53f
7 changed files with 22 additions and 12 deletions

View File

@@ -294,7 +294,7 @@ export default class OutfittingPage extends Page {
<div id='overview'>
<h1>{ship.name}</h1>
<div id='build'>
<input value={newBuildName} onChange={this._buildNameChange} placeholder={translate('Enter Name')} maxLength={50} />
<input value={newBuildName || ''} onChange={this._buildNameChange} placeholder={translate('Enter Name')} maxLength={50} />
<button onClick={canSave && this._saveBuild} disabled={!canSave} onMouseOver={termtip.bind(null, 'save')} onMouseOut={hide}>
<FloppyDisk className='lg' />
</button>