yWeb: align to latest prototype framework version

Origin commit data
------------------
Commit: cb6457595f
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-14 (Tue, 14 Feb 2023)

Origin message was:
------------------
- yWeb: align to latest prototype framework version
This commit is contained in:
vanhofen
2023-02-14 23:56:16 +01:00
parent 9fc0d4c127
commit 98effd0c9a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
version=3.0.14 version=3.0.15
date=14.02.2023 date=14.02.2023
info=NI-Neutrino-Webinterface info=NI-Neutrino-Webinterface

View File

@@ -58,14 +58,14 @@ Object.extend(Y.yweb.prototype, {
/* main instance */ /* main instance */
if (window == top.top_main.prim_menu) { if (window == top.top_main.prim_menu) {
var yweb = new Y.yweb(); var yweb = new Y.yweb();
yweb.require_prototype("1.6"); yweb.require_prototype("1.7.3");
} }
else else
if(top.top_main.prim_menu && top.top_main.prim_menu.yweb) if(top.top_main.prim_menu && top.top_main.prim_menu.yweb)
var yweb = top.top_main.prim_menu.yweb; var yweb = top.top_main.prim_menu.yweb;
else { // should not happen! else { // should not happen!
var yweb = new Y.yweb(); var yweb = new Y.yweb();
yweb.require_prototype("1.6"); yweb.require_prototype("1.7.3");
} }
/* n/m= type, menuitem, desc, file, tag, version, url, yweb_version, info_url /* n/m= type, menuitem, desc, file, tag, version, url, yweb_version, info_url