Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
2665a2d
task-2613, fix the javascript error
cention-madhuri-debnath Jan 5, 2011
987dcfd
New autocomplete feature added to the Combobox component. Autocomplet…
cention-tobias Feb 23, 2011
8d3ccf1
Merge branch 'feature-combobox-autocompletion'
cention-tobias Feb 23, 2011
0924b59
Removed features for task #2750.
cention-tobias May 24, 2011
b7e5c79
Merge branch 'task-2750-feature-removal'
cention-tobias May 24, 2011
b674670
Solved bug where images would not be displayed because WFServerURI ha…
cention-tobias May 26, 2011
98991f2
Change the appearance of MultiplePopup components.
cention-tobias May 26, 2011
ff94a7c
Remove executable permissions from two images.
cention-tobias May 26, 2011
56708fe
Added missing image for the new MultiplePopup design.
cention-tobias May 26, 2011
16ccfe6
Fix issue where sometimes in Internet Explorer the MultiPopup list wo…
cention-tobias May 26, 2011
17dab67
Make sure Checkbox component's texts are aligned in the middle.
cention-tobias May 26, 2011
a46b94d
Implement support in MultiPopup component for setting items in Javasc…
cention-tobias May 26, 2011
43467a3
IE8 fix?
cention-tobias May 30, 2011
48852d5
IE8 fix?
cention-tobias May 30, 2011
f1de784
Real IE8 fix for removing child elements in a span tag.
cention-tobias May 30, 2011
f962fd4
Fix for #2721 - Ticker isn't working.
cention-tobias Jul 15, 2011
4fba320
Fix for #2764 - Reports - report tabs aren't shown correctly.
cention-tobias Jul 15, 2011
0982cb4
Fix for problem with feature apply page.
cention-tobias Jul 15, 2011
fc632a8
Added Javscript files for the Rangy library and for the Wysiwyg editor.
cention-tobias Jul 25, 2011
9cde02b
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Jul 25, 2011
747d7ab
Fix for issue causing Internet Explorer 7 to crash.
cention-tobias Jul 28, 2011
3773a11
Added new Javascript libraries. Among others rangy which provides an …
cention-tobias Jul 28, 2011
4178cfc
Remove the component javascript code which sets the cursor. That shou…
cention-tobias Jul 29, 2011
a301be9
For #2756 - Show that there are more than one errand from a customer.
cention-tobias Aug 4, 2011
10cebc2
Add real support for separators in MultiplePopup component. Also impl…
cention-tobias Aug 9, 2011
88a11a4
Added last needed function to MultiplePopup component so it can compl…
cention-tobias Aug 9, 2011
44188c0
Hopefully last fix for FS#2837 - Search - errors. Tested in FF4, IE8 …
cention-tobias Aug 16, 2011
a16d84f
When using the MultiplePopup component it is now possible if one choo…
cention-tobias Aug 17, 2011
31bbaf3
Fix for FS#2772 - Spell check - doesn't work. Apparently it does not …
cention-tobias Aug 17, 2011
67af4bd
Use the correct cursor for these components.
cention-tobias Aug 18, 2011
3010b15
Fix for FS#2851 - Wrong agent pre-selected in My Errands.
cention-tobias Aug 19, 2011
4ac4c89
Component code and images for Wysiwyg Editor.
cention-tobias Aug 19, 2011
894b322
Moved images into Components folder and moved WysiwygEditor Javascrip…
cention-tobias Aug 21, 2011
0e34d50
Debug code in hunt for cause of bug in Webkit.
cention-tobias Aug 21, 2011
f117acc
For working home.
cention-tobias Aug 22, 2011
c1caa20
Removed debug code and applied fixes.
cention-tobias Aug 23, 2011
cae3584
A lot better working context menu in Wysiwyg editor now with submenus.
cention-tobias Aug 23, 2011
00fbe53
Spell check that works in Internet Explorer (At least version 8).
cention-tobias Aug 23, 2011
4df8605
Make context menu work in other browsers then Internet Explorer again.
cention-tobias Aug 24, 2011
9710d60
Shorten the space between the toolbar and the editor.
cention-tobias Aug 24, 2011
67472b7
Separate creation helper code from editor code.
cention-tobias Aug 24, 2011
49d82ec
Reset the TextView component to its state before Ckeditor got added.
cention-tobias Aug 24, 2011
e72e47d
The Wysiwyg Editor should have all of its toolbar items activated.
cention-tobias Aug 24, 2011
aa1fac9
Make sure cursor text is used in TextView textareas.
cention-tobias Aug 25, 2011
79400e6
Modifications needed for external parts to be able to use some Wysiwy…
cention-tobias Aug 25, 2011
540c046
Fix placement bug in submenus in the context menu for WysiwygEditor.
cention-tobias Aug 26, 2011
4a0cf3d
Make WysiwygEditor component behave more like a real TextView compone…
cention-tobias Aug 26, 2011
3431f91
Fix some issues in the WysiwygEditor component.
cention-tobias Aug 30, 2011
befee04
Some clean ups and other small things.
cention-tobias Aug 30, 2011
ddf6f80
Might be the most important fix ever. Oh how I do not like Firefox at…
cention-tobias Aug 30, 2011
9fda79b
Fix WysiwygEditor component for Internet Explorer.
cention-tobias Aug 31, 2011
c93bf53
Modify Validator component code not to validate disabled new style co…
cention-tobias Sep 12, 2011
39624bc
Add support for disabling Combobox components.
cention-tobias Sep 12, 2011
aa76682
Fix some of the issues with FS#2627 - Notifications: characters are s…
cention-tobias Sep 26, 2011
fce2b1b
Fix FS#2627 - Notifications: characters are shown funny.
cention-tobias Sep 27, 2011
7320efc
Fix for FS#2717 - Overview page - translate.
cention-tobias Sep 29, 2011
2006594
Fix FS#2772 - Spell check - doesn't work.
cention-tobias Sep 29, 2011
f627d8f
Fix FS#2772 - Spell check - doesn't work.
cention-tobias Sep 29, 2011
70ce872
Fix FS#2778 - Search errands - changes.
cention-tobias Sep 29, 2011
f76ebb7
Modify so that .png images are also installed if components have them.
cention-tobias Sep 30, 2011
45bc346
Fix FS#2778 - Search errands - changes.
cention-tobias Oct 4, 2011
2f64622
Fix FS#2715 - Fullscreen log in - unrecoverable error.
cention-tobias Oct 4, 2011
d0b95e1
Modify design of MultiPopup component to make it look better.
cention-tobias Oct 11, 2011
1c83607
Fix issue were Wysiwyg Editor component did not became enabled even t…
cention-tobias Oct 11, 2011
932f626
Fix FS#2889 - Table component - rows and pointer.
cention-tobias Oct 11, 2011
f9815fe
Merge branch 'master' of github.com:/cention/ferite-module-webframework
cention-tobias Oct 11, 2011
cbf5ae8
Fix FS#2880 - Wysiwyg Editor - Italic button.
cention-tobias Oct 13, 2011
8a6c5e7
Fix FS#2905 - Wysiwyg Editor - Perform command.
cention-tobias Oct 13, 2011
913a0e8
Fix FS#2916 - Search - java error.
cention-tobias Oct 17, 2011
e76f06e
Fix FS#2936 - Wysiwyg Editor - Add titles to buttons.
cention-tobias Oct 18, 2011
f65a2e7
Fix partially FS#2881 - Wysiwyg Editor - Image importing.
cention-tobias Oct 18, 2011
727bc5b
Fix FS#2881 - Wysiwyg Editor - Image importing.
cention-tobias Oct 19, 2011
d770b01
Fix FS#2882 - Combobox - design issue (IE 7).
cention-tobias Oct 19, 2011
7726c31
Make Popup component listen to .setEnabled() calls in Ferite.
cention-tobias Oct 19, 2011
a5f39da
Fix FS#2912 - Reports - Table is not generated.
cention-tobias Oct 19, 2011
4632836
Make some small fixes and changes.
cention-tobias Oct 27, 2011
222b9c1
Fix partially FS#2938 - Translations missing in Tags.
cention-tobias Oct 27, 2011
c69823c
Modify Hotkey component to always display hotkey dialog so it is visi…
cention-tobias Oct 31, 2011
81f15e6
Remove Hotkey for combination if exists when adding hotkey with same …
cention-tobias Oct 31, 2011
b238db7
Bump version to 3.2.
cention-tobias Nov 1, 2011
7280dc1
Modify MultiPopup to not hide when "Select None" is clicked.
cention-tobias Nov 8, 2011
84fd067
Change font size 13 to 12 in the Wysiwyg editor.
cention-tobias Nov 8, 2011
afa3bae
Fix FS#2972 - Wysiwyg Editor - Font and Size drop downs.
cention-tobias Nov 8, 2011
9c500a9
Fix FS#2971 - Wysiwyg Editor - Link button.
cention-tobias Nov 8, 2011
3657a19
Fix FS#2985 - Gina Tricot - Wysiwyg Editor - Enter key for Internet E…
cention-tobias Nov 10, 2011
730b898
Fix FS#2986 - Gina Tricot - Wysiwyg Editor - Pasting from Excel for I…
cention-tobias Nov 16, 2011
9261973
Fix for real the issue Gina Tricot reported with empty answers.
cention-tobias Nov 17, 2011
f652c72
Fix for various small issues.
cention-tobias Nov 18, 2011
d8b1b96
Merge branch 'master' of github.com:/cention/ferite-module-webframework
cention-tobias Nov 18, 2011
f9764a0
Fix issue reported by Rebtel where content pasted in Firefox caused s…
cention-tobias Nov 21, 2011
13098cd
Fix issue causing images to fail to be inserted if focus had not been…
cention-tobias Nov 22, 2011
ebd5414
Fix.
cention-tobias Nov 23, 2011
cdb181e
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Nov 23, 2011
424a439
Make WysiwygEditor use font-family and font-size from wfTextView class.
cention-tobias Nov 28, 2011
5b8fb3a
Disable the loading image for MCAM requests. Hopefully this will resu…
cention-tobias Nov 29, 2011
179ac83
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Nov 29, 2011
4cee0b4
Fix for issue where page would scroll to the top at paste and if text…
cention-tobias Dec 2, 2011
c511acd
Remove unused Ckeditor.
cention-tobias Dec 7, 2011
24a3eac
Possible fix an issue reported by Gina Tricot that was possible cause…
cention-tobias Dec 7, 2011
60c0b3f
Since we no longer include Ckeditor lets remove the reference to it h…
cention-tobias Dec 8, 2011
ed1e878
Convert WysiwygEditor component to use <div> instead of <iframe> for …
snosscire Dec 12, 2011
7056696
Merge branch 'wysiwyg-editor-in-contenteditable-div'
snosscire Dec 12, 2011
af9cb2f
Make sure the editor <div> also have 'wfTextView' class name attached…
snosscire Dec 12, 2011
985059a
Make code IE8 compatible.
cention-tobias Dec 13, 2011
ef13bc6
Revert "Make code IE8 compatible."
cention-tobias Dec 14, 2011
04a382d
Revert "Make sure the editor <div> also have 'wfTextView' class name …
cention-tobias Dec 14, 2011
8337ae9
Revert "Convert WysiwygEditor component to use <div> instead of <ifra…
cention-tobias Dec 14, 2011
bd14a8b
Readd the important changes which should be the changes that solves t…
cention-tobias Dec 14, 2011
68954e7
Modify Textfiled component to not change background to dark grey when…
cention-tobias Jan 16, 2012
0e20e2c
Add support for creating seperators when setting a MultiPopup compone…
cention-tobias Jan 19, 2012
c96ce9d
Let Combobox component have its own implementations of show() and hid…
cention-tobias Jan 30, 2012
3fe92ce
Add new Calender component called CentionCalender which returns the d…
cention-tobias Feb 16, 2012
d4a768a
Optimizations to the Javascript in the MultiplePopup component.
cention-tobias Feb 24, 2012
a0f81e1
Changes to make script work in live environment.
cention-tobias Feb 25, 2012
2b93e85
Until we've come up with a good way to get the file combined JavaScri…
cention-tobias Feb 25, 2012
24a7958
Lets not generate the compressed combined JavaScript file at the moment.
cention-tobias Feb 25, 2012
23a5dd7
Add GenerateCompressedJavascript.fe to installation of webframework.
cention-tobias Feb 25, 2012
4a59ad2
Add "simple" script for generating combined JavaScript file.
cention-tobias Feb 25, 2012
348bda6
Add function needed in FormSelect component.
cention-tobias Feb 27, 2012
3a69488
Add WysiwygEditor toolbar to a container div element instead of to bo…
cention-tobias Mar 6, 2012
a3ed50c
Fix for paste problem with Wysiwyg Editor in Safari and hopefully als…
cention-tobias Mar 6, 2012
21fb311
Make sure the selectionchange event is fired if something is pasted i…
snosscire Mar 7, 2012
505657c
Add new BackgroundFileUploader component which helps with background …
cention-tobias Mar 27, 2012
572583b
Changes to MCAM code to make it compatible with IE6 and strange versi…
cention-tobias Mar 27, 2012
0b9fa66
Append Wysiwyg editor toolbar lists to the toolbar instead of to the …
cention-tobias Mar 27, 2012
ba84f7a
Add the to new .js files to the script that generates the combined file.
cention-tobias Mar 27, 2012
82e06d2
Fix for boolean type in command directives and make the string matchi…
cention-tobias Apr 3, 2012
982531b
Fix for strange input text being displayed when uploading file in the…
cention-tobias Apr 12, 2012
7bd4edb
Fix in CTable component sorting.
cention-tobias Apr 15, 2012
94cd855
Add new jquery.titleAlert plugin for document title blinking alerts.
cention-tobias Apr 15, 2012
d6a3efa
Update prototype.js to latest version.
cention-tobias Apr 15, 2012
9110401
Update scriptaculous to latest version.
cention-tobias Apr 15, 2012
9d47265
Fix WysiwygEditor so if there is not enough room below a drop down th…
cention-tobias Apr 27, 2012
085d191
Add functions to BackgroundFileUploader component to make it more fri…
cention-tobias May 4, 2012
263c149
Update compresed javascript generator with new component.
cention-tobias May 11, 2012
f7c8edf
Fix for file uploading issue in Internet Explorer.
cention-tobias May 11, 2012
c267e01
Show paste dialog if user does not accept accessing the paste history…
cention-tobias May 11, 2012
c18ab39
Merge branch 'master' of github.com:/cention/ferite-module-webframework
cention-tobias May 11, 2012
af1daac
This is less flexible but they only (quick) way to have multiple inpu…
cention-tobias May 29, 2012
be4d7cc
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Jun 4, 2012
5be1312
Fix for issue with BackgroundFileUploader component.
cention-tobias Jun 12, 2012
90469d0
Add support for failure callbacks to mcam requests.
cention-tobias Jun 20, 2012
41c5bd4
Make it possible to remove items from BackgroundFileUploader.
cention-tobias Jun 27, 2012
456966d
Fix for issue were keyboard shortcuts sometimes did not work in in Co…
cention-tobias Jun 27, 2012
79479a6
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Jun 29, 2012
cff60da
Fix issue with having WysiwygEditor in read only mode.
cention-tobias Jun 29, 2012
d76fef0
Make sure events are properly cancled efter and event hook is triggered.
cention-tobias Jul 10, 2012
d55281e
Add enable() and disable() functions to MultiplePopup component.
cention-tobias Jul 10, 2012
2269010
Hopefully fix for Acne's problem where the their browsers stops fetch…
cention-tobias Jul 24, 2012
0674149
Merge pull request #1 from cention/bugfix-chat-stops-updating
cention-tobias Jul 24, 2012
3aec0b5
Add ChatLauncher component to compressed Javascript generation file.
cention-tobias Jul 24, 2012
238661e
Helper functions for timestamps.
cention-tobias Jul 28, 2012
55b0ff4
Fix issue in CentionCalender component which caused to convert the ti…
cention-tobias Jul 28, 2012
c134ed3
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Aug 7, 2012
dc3f28f
Fix.
cention-tobias Aug 10, 2012
92f905e
Merge branch 'master' of github.com:/cention/ferite-module-webframework
cention-tobias Aug 10, 2012
fc33ead
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Aug 14, 2012
b765636
Fix bug in image selection in the Wysiwyg editor component.
cention-tobias Aug 22, 2012
2dbfc1b
Two major changes to the Wysiwyg editor.
cention-tobias Aug 31, 2012
f6d3872
Add new htmlparser.js library.
cention-tobias Sep 7, 2012
59e8f53
Make use of new htmlparser.js library when pasting HTML in WysiwygEdi…
cention-tobias Sep 7, 2012
1e2e733
Make sure new files are included when generating combined Javascript …
cention-tobias Sep 7, 2012
2c8f989
Update Rangy Javascript library.
cention-tobias Sep 16, 2012
6350f6b
Add Rangy CSS class applier Javascript library to be loaded automatic…
cention-tobias Sep 16, 2012
3771ee6
Use Rangy CSS class applier library for font size in Wysiwyg editor.
cention-tobias Sep 16, 2012
2208cca
Ability to set default font in Wysiwyg editor.
cention-tobias Sep 17, 2012
600cefc
added a button in the wysiwyg editor to embed a video from a given url
assad-zaman Sep 17, 2012
f0ecfe2
Fix to compressed Javascript file generation script.
cention-tobias Sep 23, 2012
b1d9af7
Merge pull request #3 from cention/feature-add-embed-video-button-to-…
cention-tobias Oct 1, 2012
b55d827
The Wysiwyg editor should have no default font and size.
cention-tobias Oct 1, 2012
4114a0a
Add size 11 in Wysiwyg editor component.
cention-tobias Oct 3, 2012
ba2863b
Change combined Javascript file generator to include rangy-cssclassap…
cention-tobias Oct 8, 2012
61a7d19
Add Calibri font to Wysiwyg editor.
cention-tobias Oct 9, 2012
bd27d62
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Oct 9, 2012
c7ecf36
Font issue fix with Calibri font i WysiwygEditor component.
cention-tobias Oct 12, 2012
8b658d5
Fix issue with Combobox and Firefox 16.
cention-tobias Oct 17, 2012
54ae820
Fix issue with Combobox component not autocompleting if using capital…
cention-tobias Oct 19, 2012
b63a0c0
Fix issue in Prototype Javascript library in IE8 with getOffsetParent.
cention-tobias Oct 19, 2012
93c94c2
Do not show empty Combobox autocompletion list if nothing is found.
cention-tobias Oct 19, 2012
8871fc3
Fix issue with not being able to click items in Combobox auto complet…
cention-tobias Oct 19, 2012
a727755
Some design changes to Combobox component to make it look the same in…
cention-tobias Oct 19, 2012
60fb658
Remvoe file that has been removed from SimpleGenerateCompressedJavasc…
cention-tobias Oct 29, 2012
c299166
Implement support for pasting tables in wysiwyg editor.
cention-tobias Nov 22, 2012
0d2e395
Icon for wysiwyg editor's debug toolbar item.
cention-tobias Nov 22, 2012
91e18b5
Workaround for bug in eval.
cention-tobias Nov 25, 2012
3b885e8
Fix for html parser errors with content from Microsoft Excel and Open…
cention-tobias Nov 28, 2012
b16ee61
Add missing file to this script.
cention-tobias Nov 28, 2012
3208d17
Add hotkey support to Wysiwyg editor component.
cention-tobias Nov 30, 2012
55d950e
Make hotkeys work when cursor is in wysiwyg area.
cention-tobias Nov 30, 2012
a2d11f4
Comment unused file.
cention-tobias Dec 11, 2012
0c210c9
Make it possible to force plain text paste in Wysiwyg editor component.
cention-tobias Dec 14, 2012
30fc021
Prevent potential problems when default font and size is set for Wysi…
cention-tobias Jan 23, 2013
7724ed8
SOAP requests should be returned with content type application/soap+xml.
cention-tobias Jan 29, 2013
78dce49
Allow up to 5 characters for domain endings when validating email add…
cention-tobias Mar 6, 2013
c0b92a4
Make all text in all elements in MultiplePopup component unselectable.
cention-tobias Mar 15, 2013
d15dd7b
New Ckeditor component that will replace the WysiwygEditor component.
cention-tobias Mar 21, 2013
94d6cb9
Changes to Ckeditor component (implement more functions).
cention-tobias Mar 21, 2013
32c307b
Ckeditor itself.
cention-tobias Mar 21, 2013
6c0d0b5
Merge pull request #4 from cention/ckeditor
cention-tobias Mar 21, 2013
5c3bdd3
Fixes.
cention-tobias Mar 26, 2013
5662c9f
Disable at the moment unused.
cention-tobias Apr 25, 2013
d3d1f2e
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias Apr 25, 2013
e628e95
If right click on a selected-link of WYSIWYG-Editor then it will open…
May 20, 2013
3190fc1
Change keydown to keypress. Needed for Clear agent web browser.
cention-tobias May 24, 2013
d67f9df
Merge branch 'master' of github.com:cention/ferite-module-webframework
cention-tobias May 24, 2013
2919353
Merge pull request #5 from cention/feature-fs-3537-Modification-of-WY…
cention-tobias May 31, 2013
3bca705
Fix for issue with $ characters in wfStringExpand
cention-tobias Jun 10, 2013
dcfb59f
Fix.
cention-tobias Jun 14, 2013
a9935b1
For inactive agents/areas it will add a color red.
cention-mujibur-rahman Aug 30, 2013
2da2666
Modified the console log.
cention-mujibur-rahman Sep 5, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 57 additions & 0 deletions Public/Resources/CSS/jquery.spellchecker.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* jQuery Spellchecker - v0.2.4
* https://github.com/badsyntax/jquery-spellchecker
*
* Copyright (c) 2012 Richard Willis
* Licensed under the MIT license.
*/
.spellchecker-suggestbox {
position: absolute;
display: none;
z-index: 9999;
overflow: none;
font: normal 13px arial;
box-shadow: 0 0 4px #aaa;
background: #fff;
border: 1px solid #bbb;
}
.spellchecker-suggestbox .loading {
padding: 3px 6px;
font-style: italic;
}
.spellchecker-suggestbox a {
outline: none;
cursor: pointer;
color: #333;
padding: 3px 6px;
display: block;
text-decoration: none;
}
.spellchecker-suggestbox a:hover {
color: #000;
background: #ddd;
}
.spellchecker-suggestbox .footer {
border-top: 1px solid #ddd;
}
.spellchecker-suggestbox .footer .ignore-all,
.spellchecker-suggestbox .footer .ignore-forever {
display: none;
}
.spellchecker-word-highlight {
color: red;
cursor: pointer;
border-bottom: 1px dotted red;
}
.spellchecker-incorrectwords {
display: none;
}
.spellchecker-incorrectwords a {
display: inline-block;
margin-right: .5em;
}
.spellchecker-button-icon {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHtSURBVDjLY/j//z8DJZiBKgY49drM9J3idhLEtu+xjvea4nLNqsVspnWr2S6QmF6+Zol2ltpq5QSlmcpxijMxDABp9pjkuMuu28rIpsMi3rLZFKzIus38mm6OuqRxpf41nC5w7rOJd+i1ngnUXGLTbj7Tsskk3rbL8ppZreEu7Ry1mWpJSvHK8Uoz0TWK5U/nYIg8y8rgPsl+l12P1WqgbTPdJtk/AtoWb1CkBdagnqyyWilawVM/Rw/FBQyx540ZGm/eYIg8P43BdYLdSZiEcYXeTJB/TaoNroH8q5OldVIhXE5SKUqhXSNRfZdKvPKVkOrED+L9d/8wN998w+B4XIL40I48K8FQf/O6+7In/7mbb35hsD2qjBKNDLU3ExjKb7pi1Rx61ke89+6fwBVP/jPXXn/HYHlYGiMdMJTe1JJc/PgHQ/X1xQyplznBYuFnmRiiz062nPfof8DSJ/8ZSq8/ZzA9KIEzIQE1Vvuuf/6fufv2M4bgsz4MxVdPui8Cal4C1Jx/+RGDPqpmTANiz7MAvXI+bO2L/5ZzHvzP2Pjif8DCx/8ZMi/fY9DcL0FUUmbwPKkg3Hr7T+WOV//95j/8z5B6/jaD6l4JkvIC0J9FTtPu/2dIPn+PQXG3BFmZiUFzbweDLH7NVMmNAOGld33BRiNUAAAAAElFTkSuQmCC) !important;
background-repeat: no-repeat;
background-position: center center;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Public/Resources/Images/arrow_down.gif
Empty file modified Public/Resources/Images/sort_down.gif
100755 → 100644
Empty file modified Public/Resources/Images/sort_up.gif
100755 → 100644
13 changes: 8 additions & 5 deletions Public/Resources/Javascript/General.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,17 @@ function Calendar( id, start ) {
this.changeBg = function (id, count) {
var node = window.opener.document.getElementById(this.id);
var human = window.opener.document.getElementById(this.id + 'Human');
if( CalendarFormat( human, this.dayRef[count] ) ) {
var target = (human ? human : node);
if( CalendarFormat( target, this.dayRef[count] ) ) {
if (document.getElementById(id).style.backgroundColor != "yellow"){
document.getElementById(id).style.backgroundColor = "yellow"
}
else{
document.getElementById(id).style.backgroundColor = "#ffffff"
}
node.value = '' + this.dayRef[count];
if (human){
node.value = '' + this.dayRef[count];
}
window.setTimeout('window.close()',100);
}
}
Expand Down Expand Up @@ -903,17 +906,17 @@ function I(k) {

function wfStringExpand( format ) {
var i = 0;

for( i = 0; i < 8; i++ ) {
var o = new RegExp('{(' + i + ')(:(.*?))?}', 'g');
var after = format.replace(o, arguments[i+1]);
var arg = ('' + arguments[i+1]).replace('$', '___DOLLAR_SIGN___');
var after = format.replace(o, arg);
if( after == format ) {
break;
} else {
format = after;
}
}
return format;
return format.replace('___DOLLAR_SIGN___', '$');
}
function extractEmailAddresses( text ) {
var r = text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);
Expand Down
10 changes: 7 additions & 3 deletions Public/Resources/Javascript/Hotkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Hotkeys = {
'add': function(shortcut_combination,callback,opt,held_callback) {
//Provide a set of default options
var default_options = {
'type':'keydown',
'type':'keypress',
'propagate':false,
'disable_in_input':false,
'target':document,
Expand Down Expand Up @@ -200,7 +200,7 @@ Hotkeys = {
var keydown_function = function(e) {
if( check_key_function( e, shortcut_combination ) ) {

if( captured_this.all_shortcuts[shortcut_combination]['timeout'] == 0 ) {
if( captured_this.all_shortcuts[shortcut_combination] && captured_this.all_shortcuts[shortcut_combination]['timeout'] == 0 ) {

captured_this.log_keypress('Calling callback for ' + shortcut_combination);
callback(e, shortcut_combination, opt);
Expand Down Expand Up @@ -232,6 +232,10 @@ Hotkeys = {
}
};

if( this.all_shortcuts[shortcut_combination] ) {
this.remove(shortcut_combination);
}

this.all_shortcuts[shortcut_combination] = {
'callback': keydown_function,
'keyup_callback': keyup_function,
Expand Down Expand Up @@ -281,7 +285,7 @@ Hotkeys = {
var binding = this.all_shortcuts[shortcut_combination];
delete(this.all_shortcuts[shortcut_combination])

if(!binding)
if(!binding)
return;

var type = binding['event'];
Expand Down
72 changes: 51 additions & 21 deletions Public/Resources/Javascript/MCAM.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,41 +41,49 @@ function MCAM() { // Multiple Channel AJAX Mechanism
this.setOutput = function( os ) {
this.outputSystem = os;
};
this.handleChannel = function( requester, channel ) {
this.handleChannel = function( requesterEvent, channel ) {
var id = (channel.id ? channel.id : '');
var type = (channel.type ? channel.type : '');
var content = (channel.content ? channel.content : '');

var rval = this.handlers[type]( requester, id, type, content );
var rval = this.handlers[type]( requesterEvent, id, type, content );
this.lastChannel = 'Channel: (type:' + type + ',id:' + id + ')';
return rval;
};
this.handleEvent = function( requester ) {
this.handleEvent = function( requesterEvent ) {
var requester = requesterEvent.requester;
if( !requester.abortedByUser ) {
switch( requester.readyState ) {
case 4: {
if( requester.status == 200 ) {
var i = 0, lastChannel = 0;
var successful = true;
// try {
try {
var data = JSON.parse(requester.responseText);
if( data && data.mcam && data.mcam.channels ) {
for( i = 0; i < data.mcam.channels.length; i++ ) {
lastChannel = i;
if( !this.handleChannel( requester, data.mcam.channels[i] ) && successful ) {
if( !this.handleChannel( requesterEvent, data.mcam.channels[i] ) && successful ) {
successful = false;
break;
}
}
}
// } catch ( e ) {
} catch ( e ) {
// this.outputSystem.errorBox( 'Error Decoding MCAM Packet: (channel #' + lastChannel + ')\n' + e.message + '\n', requester.responseText );
// }
this.log('Error Decoding MCAM Packet: (channel #' + lastChannel + ') ' + e.message);
if( requesterEvent.failureCallback )
requesterEvent.failureCallback();
}
if( !successful ) {
this.outputSystem.errorBox( 'Error Decoding MCAM Packet.', requester.responseText );
if( requesterEvent.failureCallback )
requesterEvent.failureCallback();
}
} else if( requester.status != 404 && requester.status > 0 ) {
this.outputSystem.errorBox('All going wrong -> ' + requester.status + ' : ' + requester.mcamURL, '');
this.outputSystem.errorBox('All going wrong -> ' + requester.status + ' : ' + requesterEvent.mcamURL, '');
if( requesterEvent.failureCallback )
requesterEvent.failureCallback();
}
this.dirtyList = new Array();
this._dirtyList = new Array();
Expand Down Expand Up @@ -110,13 +118,18 @@ function MCAM() { // Multiple Channel AJAX Mechanism

if( node ) {
if( this.loading ) {
/* Tobias 2011-11-29: If this loading image is not hidden
* as it should people get very annoyed and think that the page
* is still loading. Therefore lets disable it and see if
* people think that the system gets quicker.
if( node.builtByMCAM ) {
node.style.display = 'block';
node.style.top = '5px';
node.style.left = '5px';
} else {
node.style.display = '';
}
*/
}
else
node.style.display = 'none';
Expand All @@ -143,11 +156,13 @@ function MCAM() { // Multiple Channel AJAX Mechanism
}
this.toggleLoading(true);

var requesterEvent = {};
var requester = this.createRequestObject();
requesterEvent.requester = requester;
requester.open( "POST", url );
requester.setRequestHeader( 'Content-Type','application/x-www-form-urlencoded' );
requester.onreadystatechange = function() {
self.handleEvent(requester);
self.handleEvent(requesterEvent);
};
requester.send( 'uieventcomponent='+ component +
'&uieventdata=' + event_type +
Expand Down Expand Up @@ -176,6 +191,9 @@ function MCAM() { // Multiple Channel AJAX Mechanism
this.fireCallbackRequest = function( request, callback, new_parameters ) {
return this.fireReplaceRequestWithCallback( request, callback, '', new_parameters );
};
this.fireCallbackRequest = function( request, callback, new_parameters, failureCallback ) {
return this.fireReplaceRequestWithCallback( request, callback, '', new_parameters, failureCallback );
};
this.createProgressDiv = function( node, label ) {
var pos = findPos(node);
var div = document.createElement('div');
Expand All @@ -188,7 +206,7 @@ function MCAM() { // Multiple Channel AJAX Mechanism
div.style.top = pos[1] + 'px';
return div;
};
this.fireReplaceRequestWithCallback = function( request, callback, target, new_parameters ) {
this.fireReplaceRequestWithCallback = function( request, callback, target, new_parameters, failureCallback ) {
var url = this.getTargetURL() + '/-/MCAM/' + request;
var self = this;
var parameters = '';
Expand All @@ -214,12 +232,14 @@ function MCAM() { // Multiple Channel AJAX Mechanism

this.toggleLoading(true);

var requesterEvent = {};
var requester = this.createRequestObject();
requester.mcamURL = url;
requesterEvent.requester = requester;
requesterEvent.mcamURL = url;
requester.open( "POST", url );
requester.setRequestHeader( 'Content-Type','application/x-www-form-urlencoded' );
requester.onreadystatechange = function() {
self.handleEvent(requester);
self.handleEvent(requesterEvent);
};

var status_div;
Expand All @@ -228,7 +248,8 @@ function MCAM() { // Multiple Channel AJAX Mechanism
status_div = this.createProgressDiv( target_node, target );
wfinsertAdjacentElement( target_node, "afterEnd", status_div );
}
requester.mcamCallback = function( id, type, content ) {

requesterEvent.mcamCallback = function( id, type, content ) {
if( callback )
callback( content );
if( target ) {
Expand All @@ -238,6 +259,11 @@ function MCAM() { // Multiple Channel AJAX Mechanism
return true;
};

requesterEvent.failureCallback = function() {
if( failureCallback )
failureCallback();
};

requester.send( parameters );

return requester;
Expand All @@ -247,10 +273,10 @@ function MCAM() { // Multiple Channel AJAX Mechanism
};
/*** SETUP ***/
var self = this;
this.registerType( 'Result', function( requester, id, type, content ) {
return requester.mcamCallback( id, type, content );
this.registerType( 'Result', function( requesterEvent, id, type, content ) {
return requesterEvent.mcamCallback( id, type, content );
});
this.registerType( 'Replace', function( requester, id, type, content ) {
this.registerType( 'Replace', function( requesterEvent, id, type, content ) {
var node = document.getElementById(id);
if( node ) {
wfinsertAdjacentHTML( node, 'replace', content );
Expand All @@ -267,7 +293,7 @@ function MCAM() { // Multiple Channel AJAX Mechanism
}
return true;
} );
this.registerType( 'SetContent', function( requester, id, type, content ) {
this.registerType( 'SetContent', function( requesterEvent, id, type, content ) {
var node = document.getElementById(id);
if( node ) {
node.innerHTML = '';
Expand All @@ -276,25 +302,29 @@ function MCAM() { // Multiple Channel AJAX Mechanism
}
return false;
});
this.registerType( 'SetValue', function( requester, id, type, content ) {
this.registerType( 'SetValue', function( requesterEvent, id, type, content ) {
var node = document.getElementById(id);
if( node ) {
document.getElementById(id).value = content;
return true;
}
return false;
});
this.registerType( 'Script', function( requester, id, type, content ) {
this.registerType( 'Script', function( requesterEvent, id, type, content ) {
try {
eval( content );
return true;
} catch( e ) {
return false;
}
});
this.registerType( 'Error', function( requester, id, type, content ) {
this.registerType( 'Error', function( requesterEvent, id, type, content ) {
var errorMessage = content;
alert( 'MCAM.Error: ' + errorMessage );
// alert( 'MCAM.Error: ' + errorMessage );
// mcam.logError( 'MCAM.Error: ' + errorMessage );
mcam.log( 'MCAM.Error: ' + errorMessage );
if( requesterEvent.failureCallback )
requesterEvent.failureCallback();
return true;
});
this.log = function( value ) {
Expand Down
Loading