Sponsored Content
Top Forums Web Development Bootstrap Changes to Advanced Editor and Attachments Form Post 303027074 by Neo on Saturday 8th of December 2018 12:52:25 AM
Old 12-08-2018
OBTW, here is what the "not working 100% modal looks like" ....

Image

The reason it does not work perfectly, is that the editor page does not immediately update when a new attachment is added via the modal. This will require more reactive code (like VueJS) or maybe some additional jQuery; but since it works perfectly fine as "not a modal" right now, I'm going to let it stay as it for the time being until I get better at modal development.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing Unix form to Microsoft Word form to be able to email it to someone.

Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies

2. Solaris

Redirecting Bootstrap

Exactly how can I redirect bootstrap data generated by Networker to a file? The company's policy is to have this electronically saved remotely. The idea is to have the bootstrap info saved to a file and then use rsync to move that file to a remote server. So instead of sending it to a printer... (0 Replies)
Discussion started by: Jshwon
0 Replies

3. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

4. UNIX for Advanced & Expert Users

How to fix bootstrap failure in unix V4.0D?

hi! my computer is... system: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB Operating System: Digital Unix Console(SRM), Digital Unix V4.0D That computer is used for radar display. Application run on Unix. I have a problem now. I can't boot dkc0... (2 Replies)
Discussion started by: akz
2 Replies

5. Shell Programming and Scripting

Transpose Data form Different form

HI Guys, I have data in File A.txt RL03 RL03_A_1 RL03_B_1 RL03_C_1 RL03 -119.8 -119.5 -119.5 RL07 RL07_A_1 RL07_B_1 RL07_C_1 RL07 -119.3 -119.5 -119.5 RL15 RL15_A_1 RL15_C_1 RL15 -120.5 -119.4 RL16... (2 Replies)
Discussion started by: asavaliya
2 Replies

6. Shell Programming and Scripting

Remove x lines form top and y lines form bottom using AWK?

How to remove x lines form top and y lines form bottom. This works, but like awk only cat file | head -n-y | awk 'NR>(x-1)' so remove last 3 lines and 5 firstcat file | head -n-3 | awk 'NR>4' (5 Replies)
Discussion started by: Jotne
5 Replies

7. What is on Your Mind?

Scrollbars and Bootstrap Tables

Making some progress using CSS from Bootstrap; changing table classes to the Bootstrap "table" class and wrapping those tables in a div with a scroll bar. So, the good news is that now each post with large blocks of code that exceeds the width of the screen will have a scrollbar; but the bad... (0 Replies)
Discussion started by: Neo
0 Replies

8. What is on Your Mind?

New Experimental Attachment Uploader / Manager in Advanced Editor

I have made the experimental Bootstrap attachment manager (modal) available to everyone. It's basically the same thing as the paperclip attachment icon, but this window opens as a Bootstrap modal versus a popup page. The downside of using the modal is that to see the attachments in the editor... (0 Replies)
Discussion started by: Neo
0 Replies
XtAddGrab(3)							   XT FUNCTIONS 						      XtAddGrab(3)

NAME
XtAddGrab, XtRemoveGrab - redirect user input to a modal widget SYNTAX
void XtAddGrab(Widget w, Boolean exclusive, Boolean spring_loaded); void XtRemoveGrab(Widget w); ARGUMENTS
exclusive Specifies whether user events should be dispatched exclusively to this widget or also to previous widgets in the cascade. spring_loaded Specifies whether this widget was popped up because the user pressed a pointer button. w Specifies the widget to add to or remove from the modal cascade. DESCRIPTION
The XtAddGrab function appends the widget (and associated parameters) to the modal cascade and checks that exclusive is True if spring_loaded is True. If these are not True, XtAddGrab generates an error. The modal cascade is used by XtDispatchEvent when it tries to dispatch a user event. When at least one modal widget is in the widget cas- cade, XtDispatchEvent first determines if the event should be delivered. It starts at the most recent cascade entry and follows the cas- cade up to and including the most recent cascade entry added with the exclusive parameter True. This subset of the modal cascade along with all descendants of these widgets comprise the active subset. User events that occur outside the widgets in this subset are ignored or remapped. Modal menus with submenus generally add a submenu widget to the cascade with exclusive False. Modal dialog boxes that need to restrict user input to the most deeply nested dialog box add a subdialog widget to the cascade with exclusive True. User events that occur within the active subset are delivered to the appropriate widget, which is usually a child or fur- ther descendant of the modal widget. Regardless of where on the screen they occur, remap events are always delivered to the most recent widget in the active subset of the cas- cade that has spring_loaded True, if any such widget exists. The XtRemoveGrab function removes widgets from the modal cascade starting at the most recent widget up to and including the specified wid- get. It issues an error if the specified widget is not on the modal cascade. SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.4 XtAddGrab(3)
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy