Final major add for working buttons in IE
This commit is contained in:
parent
cf255b2979
commit
a07bd76625
|
@ -14,7 +14,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
var padeditbar = (function()
|
var padeditbar = (function()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -84,14 +83,15 @@ var padeditbar = (function()
|
||||||
},
|
},
|
||||||
isEnabled: function()
|
isEnabled: function()
|
||||||
{
|
{
|
||||||
return !$("#editbar").hasClass('disabledtoolbar');
|
// return !$("#editbar").hasClass('disabledtoolbar');
|
||||||
|
return true;
|
||||||
},
|
},
|
||||||
disable: function()
|
disable: function()
|
||||||
{
|
{
|
||||||
$("#editbar").addClass('disabledtoolbar').removeClass("enabledtoolbar");
|
$("#editbar").addClass('disabledtoolbar').removeClass("enabledtoolbar");
|
||||||
},
|
},
|
||||||
toolbarClick: function(cmd)
|
toolbarClick: function(cmd)
|
||||||
{
|
{
|
||||||
if (self.isEnabled())
|
if (self.isEnabled())
|
||||||
{
|
{
|
||||||
if(cmd == "showusers")
|
if(cmd == "showusers")
|
||||||
|
@ -99,7 +99,7 @@ var padeditbar = (function()
|
||||||
self.toogleDropDown("users");
|
self.toogleDropDown("users");
|
||||||
}
|
}
|
||||||
else if (cmd == 'embed')
|
else if (cmd == 'embed')
|
||||||
{
|
{
|
||||||
var padurl = document.location;
|
var padurl = document.location;
|
||||||
$('#embedinput').val("<iframe src='" + padurl + "' width=500 height=400>");
|
$('#embedinput').val("<iframe src='" + padurl + "' width=500 height=400>");
|
||||||
self.toogleDropDown("embed");
|
self.toogleDropDown("embed");
|
||||||
|
|
Loading…
Reference in New Issue