Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
393dd615
Commit
393dd615
authored
Jul 17, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the Strophe.NS.XFORM constant
parent
6cd9fb55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
converse.js
converse.js
+7
-6
No files found.
converse.js
View file @
393dd615
...
...
@@ -1256,10 +1256,6 @@
}
},
insertIntoPage
:
function
()
{
this
.
$el
.
insertAfter
(
converse
.
chatboxviews
.
get
(
"
controlbox
"
).
$el
);
},
render
:
function
()
{
this
.
$el
.
attr
(
'
id
'
,
this
.
model
.
get
(
'
box_id
'
))
.
html
(
converse
.
templates
.
chatbox
(
...
...
@@ -1276,6 +1272,11 @@
return
this
.
showStatusMessage
();
},
insertIntoPage
:
function
()
{
this
.
$el
.
insertAfter
(
converse
.
chatboxviews
.
get
(
"
controlbox
"
).
$el
);
return
this
;
},
initDragResize
:
function
()
{
this
.
prev_pageY
=
0
;
// To store last known mouse position
if
(
converse
.
connection
.
connected
)
{
...
...
@@ -2927,7 +2928,7 @@
// Send an IQ stanza with the room configuration.
var
iq
=
$iq
({
to
:
this
.
model
.
get
(
'
jid
'
),
type
:
"
set
"
})
.
c
(
"
query
"
,
{
xmlns
:
Strophe
.
NS
.
MUC_OWNER
})
.
c
(
"
x
"
,
{
xmlns
:
"
jabber:x:data
"
,
type
:
"
submit
"
});
.
c
(
"
x
"
,
{
xmlns
:
Strophe
.
NS
.
XFORM
,
type
:
"
submit
"
});
_
.
each
(
config
,
function
(
node
)
{
iq
.
cnode
(
node
).
up
();
});
return
converse
.
connection
.
sendIQ
(
iq
.
tree
(),
onSuccess
,
onError
);
},
...
...
@@ -6185,7 +6186,7 @@
var
queryid
=
converse
.
connection
.
getUniqueId
();
var
stanza
=
$iq
({
'
type
'
:
'
set
'
}).
c
(
'
query
'
,
{
'
xmlns
'
:
Strophe
.
NS
.
MAM
,
'
queryid
'
:
queryid
});
if
(
typeof
options
!=
"
undefined
"
)
{
stanza
.
c
(
'
x
'
,
{
'
xmlns
'
:
'
jabber:x:data
'
})
stanza
.
c
(
'
x
'
,
{
'
xmlns
'
:
Strophe
.
NS
.
XFORM
})
.
c
(
'
field
'
,
{
'
var
'
:
'
FORM_TYPE
'
})
.
c
(
'
value
'
).
t
(
Strophe
.
NS
.
MAM
).
up
().
up
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment