fix up topic creator
This commit is contained in:
parent
74dd20f02e
commit
96f66a2f8c
3 changed files with 21 additions and 1 deletions
|
@ -532,6 +532,7 @@ button.button.btn-no:hover {
|
|||
display: block;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.selectedMetacode {
|
||||
|
@ -572,7 +573,6 @@ button.button.btn-no:hover {
|
|||
z-index: 9999;
|
||||
width: 256px;
|
||||
height: 34px;
|
||||
float: left;
|
||||
}
|
||||
.new_topic #topic_name,
|
||||
.new_topic .tt-hint {
|
||||
|
|
17
app/controllers/conversations_controller.rb
Normal file
17
app/controllers/conversations_controller.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
class ConversationsController < ApplicationController
|
||||
|
||||
def conversation
|
||||
@maps = map_scope(Map.where.not(name: 'Untitled Map').where.not(permission: 'private'))
|
||||
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
# root url => main/home. main/home renders maps/activemaps view.
|
||||
redirect_to(root_url) && return if authenticated?
|
||||
respond_with(@maps, @user)
|
||||
end
|
||||
format.json { render json: @maps.to_json }
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import Active from './Active'
|
||||
import Control from './Control'
|
||||
import Create from './Create'
|
||||
import DataModel from './DataModel'
|
||||
import JIT from './JIT'
|
||||
import Mobile from './Mobile'
|
||||
|
@ -127,6 +128,8 @@ const Listeners = {
|
|||
$(window).resize(function() {
|
||||
if (Visualize && Visualize.mGraph) {
|
||||
Util.resizeCanvas(Visualize.mGraph.canvas)
|
||||
Create.newSynapse.updateForm()
|
||||
Create.newTopic.position()
|
||||
}
|
||||
|
||||
if (Active.Map && Realtime.inConversation) Realtime.positionVideos()
|
||||
|
|
Loading…
Reference in a new issue