Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

while opening the RIB in a iframe drag and drop is not working. #309

Open
RathoreShubh opened this issue Feb 12, 2014 · 2 comments
Open

Comments

@RathoreShubh
Copy link

w.draggable.filter palette.js:105
elem.(anonymous function) jquery-workarounds.js:79
c.extend.plugin.call jquery-ui-1.8.16.custom.min.js:17
d.widget._trigger jquery-ui-1.8.16.custom.min.js:101
d.widget._mouseStart jquery-ui-1.8.16.custom.min.js:85
b.widget._mouseMove jquery-ui-1.8.16.custom.min.js:49
_mouseMoveDelegate jquery-ui-1.8.16.custom.min.js:48
f.event.handle jquery-1.6.4.min.js:3
i.handle.k

@sbryan
Copy link
Contributor

sbryan commented Feb 12, 2014

I'm afraid you'll need to provide more information. There should be an error message with this stacktrace, and, more importantly, some explanation for why/how you are putting RIB into an iframe.

Just to be clear, running RIB inside an iframe was never an expected, tested or supported way for it to be used, so I'm not too sure anything will be done to fix it w/out sound justification or contributing fixes yourself.

@RathoreShubh
Copy link
Author

I want to open the RIB window on a button click as a popup/iframe to design a page and get the JSON .
i am trying via iframe

<iframe id="ribfram" height="100%" width="100%" style="height: 700px;" src="index.html"></iframe>

and with sencha 2.0.2

var test = {
id:'test',
title: 'Test Window',
plain:true,
bodyCfg: {
tag: 'iframe',
src: 'index.html'
}};

win = new Ext.Window(test);
win.show();

by both ways drag and drop is not working.
While loading it is showing that top.$ is undefined in composer.js(line 14) in console(chromium/ubuntu).

while dragging a component it is showing that $.rib is not defined.

Stacktrace

Uncaught TypeError: Object # has no method 'dndfilter' palette.js:105
w.draggable.filter palette.js:105
elem.(anonymous function) jquery-workarounds.js:83
c.extend.plugin.call jquery-ui-1.8.16.custom.min.js:17
d.widget._trigger jquery-ui-1.8.16.custom.min.js:101
d.widget._mouseStart jquery-ui-1.8.16.custom.min.js:85
b.widget._mouseMove jquery-ui-1.8.16.custom.min.js:49
_mouseMoveDelegate jquery-ui-1.8.16.custom.min.js:48
f.event.handle jquery-1.6.4.min.js:3
i.handle.k jquery-1.6.4.min.js:2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants