rsence 2.0.2.13 → 2.0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.3.14
|
|
@@ -602,7 +602,7 @@ EVENT = {
|
|
|
602
602
|
if ((_this.focusOptions[i].draggable === true) && _this.dragItems.indexOf(i) === -1) {
|
|
603
603
|
_startDragElementIds.push(i);
|
|
604
604
|
}
|
|
605
|
-
|
|
605
|
+
if (_this.focusOptions[i].mouseDown === true) {
|
|
606
606
|
_mouseDownElementIds.push(i);
|
|
607
607
|
}
|
|
608
608
|
}
|
|
@@ -636,7 +636,7 @@ EVENT = {
|
|
|
636
636
|
}
|
|
637
637
|
// Stop the event only when we are hovering over some control, allows normal DOM events to co-exist.
|
|
638
638
|
if (this.enableDroppableChecks) {
|
|
639
|
-
if ((_stopEvent === 0) && (_this.hovered.length !== 0) &&
|
|
639
|
+
if ((_stopEvent === 0) && (_this.hovered.length !== 0) && _newActiveControl) {
|
|
640
640
|
Event.stop(e);
|
|
641
641
|
}
|
|
642
642
|
}
|
|
@@ -660,16 +660,21 @@ EVENT = {
|
|
|
660
660
|
// these arrays and the events are sent after the active control status has
|
|
661
661
|
// been changed.
|
|
662
662
|
_clickElementIds = [];
|
|
663
|
-
|
|
663
|
+
_this._modifiers(e);
|
|
664
664
|
if (_isLeftButton === undefined) {
|
|
665
665
|
_isLeftButton = Event.isLeftClick(e);
|
|
666
666
|
}
|
|
667
|
-
if (
|
|
668
|
-
|
|
667
|
+
if (BROWSER_TYPE.ie) {
|
|
668
|
+
_isLeftButton = true; // IE only supports click on left button
|
|
669
669
|
}
|
|
670
|
-
|
|
671
|
-
|
|
670
|
+
// Prevent right-click event from triggering click.
|
|
671
|
+
// Only firefox seems to fire the click-event with the
|
|
672
|
+
// right mouse button, so this prevents it from happening
|
|
673
|
+
// in the name of uniform behavior.
|
|
674
|
+
if(!_isLeftButton){
|
|
675
|
+
return true;
|
|
672
676
|
}
|
|
677
|
+
_this.status[_this.button1] = true;
|
|
673
678
|
for (; i !== _this.focused.length; i++) {
|
|
674
679
|
if (_this.focused[i] === true) {
|
|
675
680
|
// Set the active control to the currently focused item.
|
|
@@ -693,17 +698,12 @@ EVENT = {
|
|
|
693
698
|
}
|
|
694
699
|
// Stop the event only when we are hovering over some control, allows normal DOM events to co-exist.
|
|
695
700
|
if (_this.enableDroppableChecks) {
|
|
696
|
-
if ((_stopEvent === 0) && (_this.hovered.length !== 0) &&
|
|
701
|
+
if ((_stopEvent === 0) && (_this.hovered.length !== 0) && _newActiveControl) {
|
|
697
702
|
Event.stop(e);
|
|
698
703
|
}
|
|
699
704
|
}
|
|
700
705
|
//if(_this.hovered.length!==0){Event.stop(e);}
|
|
701
|
-
|
|
702
|
-
_this.status[_this.button1] = false;
|
|
703
|
-
}
|
|
704
|
-
else {
|
|
705
|
-
_this.status[_this.button2] = false;
|
|
706
|
-
}
|
|
706
|
+
_this.status[_this.button1] = false;
|
|
707
707
|
return true;
|
|
708
708
|
},
|
|
709
709
|
|
|
@@ -902,11 +902,18 @@ EVENT = {
|
|
|
902
902
|
|
|
903
903
|
/* Alternative right button detection, wrapper for the mouseDown method */
|
|
904
904
|
contextMenu: function(e) {
|
|
905
|
-
EVENT.mouseDown(e, false);
|
|
905
|
+
// EVENT.mouseDown(e, false);
|
|
906
906
|
Event.stop(e);
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
907
|
+
|
|
908
|
+
/***
|
|
909
|
+
|
|
910
|
+
IMPLEMENT SEPARATE CONTEXT-MENU EVENT HANDLING HERE
|
|
911
|
+
|
|
912
|
+
***/
|
|
913
|
+
|
|
914
|
+
// if(Event.isLeftClick(e)){
|
|
915
|
+
// EVENT.status[EVENT.button2] = false;
|
|
916
|
+
// }
|
|
910
917
|
},
|
|
911
918
|
|
|
912
919
|
_cmdKeys: [
|
|
@@ -87,7 +87,7 @@ ReloadApp = HApplication.extend({
|
|
|
87
87
|
_alertY = _halfHeight - 150;
|
|
88
88
|
if(_alertX<10){_alertX = 10;}
|
|
89
89
|
if(_alertY<10){_alertY = 10;}
|
|
90
|
-
HSheet.extend({
|
|
90
|
+
_this._alertSheet = HSheet.extend({
|
|
91
91
|
drawSubviews: function(){
|
|
92
92
|
var _this = this,
|
|
93
93
|
_elemId = _this.markupElemIds['subview'],
|
|
@@ -145,8 +145,8 @@ ReloadApp = HApplication.extend({
|
|
|
145
145
|
/** Re-focuses the window.
|
|
146
146
|
**/
|
|
147
147
|
onIdle: function(){
|
|
148
|
-
if(this['
|
|
149
|
-
|
|
148
|
+
if(this['_alertSheet']){
|
|
149
|
+
this._alertSheet.bringToFront();
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
});
|
|
@@ -492,7 +492,7 @@ class ClientPkgBuild
|
|
|
492
492
|
@no_obfuscation = config[:no_obfuscation]
|
|
493
493
|
@no_whitespace_removal = config[:no_whitespace_removal]
|
|
494
494
|
@js_inc = config[:js_inc]
|
|
495
|
-
@debug =
|
|
495
|
+
@debug = RSence.args[:debug]
|
|
496
496
|
@quiet = (not RSence.args[:verbose])
|
|
497
497
|
end
|
|
498
498
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html
|
|
2
|
-
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
|
|
4
|
-
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html><head>
|
|
5
3
|
<!-- This page is served to you by RSence - http://rsence.org/ -->
|
|
6
4
|
<title>__DEFAULT_TITLE__</title>
|
|
7
5
|
<style type="text/css">body{margin:0;padding:0;background-color:#ddd;font-family:Arial,sans-serif;}</style>
|
|
@@ -16,6 +14,4 @@ COMM.ClientPrefix='__CLIENT_BASE__';
|
|
|
16
14
|
COMM.Transporter.HelloUrl='__CLIENT_HELLO__';
|
|
17
15
|
HThemeManager.themePath='__CLIENT_BASE__/themes';
|
|
18
16
|
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
</head><body id="body"><noscript>__NOSCRIPT__</noscript></body></html>
|
|
17
|
+
</script></head><body id="body"><noscript>__NOSCRIPT__</noscript></body></html>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rsence
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 127
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
version: 2.0.
|
|
9
|
+
- 3
|
|
10
|
+
- 14
|
|
11
|
+
version: 2.0.3.14
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Riassence Inc.
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-07-
|
|
19
|
+
date: 2010-07-16 00:00:00 +03:00
|
|
20
20
|
default_executable: rsence
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|