Commit f215ab5f authored by Marcel's avatar Marcel
Browse files

Fix pathbar bug.

parent 6c3234a3
......@@ -155,8 +155,8 @@ class WorkspaceState(Base):
elif identifier:
current_state[id] = identifier
workspace_state.state = json.dumps(current_state)
workspace_state.timestamp = datetime.now()
session.commit()
else:
workspace_state.state = unicode(state)
workspace_state.timestamp = datetime.now()
session.commit()
return True
......@@ -238,9 +238,9 @@ var PathBar = VispaModule.extend({
.html();
$(this.nodes.input)
.find('.pathbar-input-input')
.val('')
//.val('')
.focus()
.val(value);
//.val(value);
// check once, immediate
this.check(value, true);
return this;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment