improved the help URL loading
This commit is contained in:
parent
98e00a8056
commit
a88c684abc
2
bigbluebutton-client/src/org/bigbluebutton/main/model/options/HelpOptions.as
Normal file → Executable file
2
bigbluebutton-client/src/org/bigbluebutton/main/model/options/HelpOptions.as
Normal file → Executable file
@ -22,7 +22,7 @@ package org.bigbluebutton.main.model.options {
|
||||
public class HelpOptions extends Options {
|
||||
|
||||
[Bindable]
|
||||
public var url:String = "";
|
||||
public var url:String = "http://www.bigbluebutton.org/content/videos";
|
||||
|
||||
public function HelpOptions() {
|
||||
name = "help";
|
||||
|
5
bigbluebutton-client/src/org/bigbluebutton/main/views/FlashMicSettings.mxml
Normal file → Executable file
5
bigbluebutton-client/src/org/bigbluebutton/main/views/FlashMicSettings.mxml
Normal file → Executable file
@ -290,13 +290,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
var currentSlider:Slider=Slider(event.currentTarget);
|
||||
mic.gain = currentSlider.value
|
||||
}
|
||||
|
||||
private var DEFAULT_HELP_URL:String = "http://www.bigbluebutton.org/content/videos";
|
||||
|
||||
private function onHelpButtonClicked():void {
|
||||
var helpOptions : HelpOptions = Options.getOptions(HelpOptions) as HelpOptions;
|
||||
DEFAULT_HELP_URL = helpOptions.url;
|
||||
navigateToURL(new URLRequest(DEFAULT_HELP_URL));
|
||||
navigateToURL(new URLRequest(helpOptions.url));
|
||||
}
|
||||
|
||||
private function yesButtonClicked():void {
|
||||
|
@ -89,6 +89,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
import org.bigbluebutton.main.events.SuccessfulLoginEvent;
|
||||
import org.bigbluebutton.main.model.NetworkStatsData;
|
||||
import org.bigbluebutton.main.model.options.BrandingOptions;
|
||||
import org.bigbluebutton.main.model.options.HelpOptions;
|
||||
import org.bigbluebutton.main.model.options.LayoutOptions;
|
||||
import org.bigbluebutton.main.model.options.ShortcutKeysOptions;
|
||||
import org.bigbluebutton.main.model.users.events.ChangeMyRole;
|
||||
@ -98,8 +99,6 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
import org.bigbluebutton.util.i18n.ResourceUtil;
|
||||
|
||||
private static const LOGGER:ILogger = getClassLogger(MainToolbar);
|
||||
|
||||
private var DEFAULT_HELP_URL:String = "http://www.bigbluebutton.org/content/videos";
|
||||
|
||||
public static const ALIGN_RIGHT:String ="ALIGN_RIGHT";
|
||||
public static const ALIGN_LEFT:String = "ALIGN_LEFT";
|
||||
@ -289,7 +288,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
}
|
||||
|
||||
private function onHelpButtonClicked():void {
|
||||
navigateToURL(new URLRequest(DEFAULT_HELP_URL))
|
||||
var helpOptions:HelpOptions = Options.getOptions(HelpOptions) as HelpOptions;
|
||||
navigateToURL(new URLRequest(helpOptions.url));
|
||||
}
|
||||
|
||||
private function handleEndMeetingEvent(event:BBBEvent):void {
|
||||
|
@ -58,7 +58,6 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
import org.bigbluebutton.util.i18n.ResourceUtil;
|
||||
|
||||
private static const LOGGER:ILogger = getClassLogger(WebRTCEchoTest);
|
||||
private static var DEFAULT_HELP_URL:String = "http://www.bigbluebutton.org/content/videos";
|
||||
|
||||
private static const TIMEOUT:Number = 60;
|
||||
private static const CANCEL_BUTTON:Number = 55;
|
||||
@ -243,8 +242,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
private function onHelpButtonClicked():void {
|
||||
var helpOptions : HelpOptions = Options.getOptions(HelpOptions) as HelpOptions;
|
||||
DEFAULT_HELP_URL = helpOptions.url;
|
||||
navigateToURL(new URLRequest(DEFAULT_HELP_URL));
|
||||
navigateToURL(new URLRequest(helpOptions.url));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user